Exception: Twilio::REST::TwilioError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/twilio-ruby/framework/rest/error.rb

Direct Known Subclasses

RestError

Instance Method Summary collapse

Instance Method Details

#bodyObject

Deprecated.

all errors that have a body are now 'Twilio::RestError's


7
8
9
10
# File 'lib/twilio-ruby/framework/rest/error.rb', line 7

def body
  warn "'Twilio::REST::TwilioError#body' has been deprecated. No 'TwilioError' objects are raised with a body."
  nil
end