Data class representing an ErrorResponse.
Exception class for wrapping ErrorResponse as a Throwable.
An optional map containing lists of error messages, keyed by error types or categories.
The error message associated with the response.
Returns the ErrorResponse as a Throwable object