robot.utils.error
¶
get_error_message
¶
Returns error message of the last occurred exception.
This method handles also exceptions containing unicode messages. Thus it MUST be used to get messages from all exceptions originating outside the framework.
Source code in src/robot/utils/error.py
get_error_details
¶
Returns error message and details of the last occurred exception.
Source code in src/robot/utils/error.py
ErrorDetails
¶
Object wrapping the last occurred exception.
It has attributes message
, traceback
, and error
, where message
contains
the message with possible generic exception name removed, traceback
contains
the traceback and error
contains the original error instance.