exit_message Property
Contains the last commands exit message.
Syntax
def get_exit_message() -> str: ...
exit_message = property(get_exit_message, None)
Default Value
""
Remarks
Use this property to access the exit message of the last command or shell session. This property normally gets assigned if the command or shell was closed due to an error.
This property is read-only.