format_err_msg

pyrcs.utils.format_err_msg(e)

Format an error message.

Parameters

e (Exception or None) – subclass of Exception

Returns

an error message

Return type

str