Build a TwilioError (or matching subclass) from a numeric error code. For a registered code the subclass's canonical message is used and any supplied message is ignored. For an unregistered code the supplied message is preserved.
TwilioError
message
Optional
Build a
TwilioError(or matching subclass) from a numeric error code. For a registered code the subclass's canonical message is used and any suppliedmessageis ignored. For an unregistered code the suppliedmessageis preserved.