ErrorInfo
Representation of an Error object.
This object encapsulates information about an SDK error and is passed around to listener callbacks.
Parameters
Error category as a ErrorReason.
Error category as a classifier. Local client errors get status 0, network related errors have their HTTP error code as a status.
Unique twilio code for this error. See also: Error and Warning Dictionary
Human readable description for the status property.
Human readable description for the code property.
Constructors
Create ErrorInfo from error code and corresponding message. The status will be set to #CLIENT_ERROR.
Create ErrorInfo from status, error code and corresponding message.
Create ErrorInfo from status, error code and corresponding message.
Create ErrorInfo from reason, status, error code and corresponding message.