get_exception_message

paddle.compat.get_exception_message ( exc ) [源代码]

获取特定异常的错误消息

参数

  • exec (Exception) - 获取错误消息的异常。

返回

exec的错误消息