Convert ErrorInfo to string representation, for example for logging.
String representation of ErrorInfo object.