Converts a Throwable to ErrorInfo using standard mappings.
the converted error information
the exception to convert