TWMError Class Reference

Inherits from NSError
Declared in TWMError.h

Overview

Twilio IP Messaging error object

TWMError is a descendent of NSError. The IP Messaging Client will populate the following properties for most errors:

  • domain - Will be equivalent to the constant pointed to by TWMErrorDomain
  • code - Will be a numeric code indicating the failure or TWMErrorGeneric for errors generated by the client locally
  • userInfo[TWMErrorMsgKey] - May contain an optional string representation of the error with more detail if available