Error

constructor(message: String, response: T? = null)

Parameters

message

A message describing the error.

response

The response data, if any, associated with the error.