get_exception_message

paddle.compat. get_exception_message ( exc ) [source]

Get the error message of a specific exception

Parameters

exec (Exception) – The exception to get error message.

Returns

the error message of exec