Sha256: 740aa15ed3e160235704def68fef9d91fb9758da1d48dad319bf135f41df2617

Contents?: true

Size: 248 Bytes

Versions: 59

Compression:

Stored size: 248 Bytes

Contents

module Twilio
  module REST
    class ServerError < StandardError; end

    class RequestError < StandardError
      attr_reader :code

      def initialize(message, code=nil);
        super message
        @code = code
      end
    end
  end
end

Version data entries

59 entries across 59 versions & 1 rubygems

Version Path
twilio-ruby-3.13.1 lib/twilio-ruby/rest/errors.rb
twilio-ruby-3.13.0 lib/twilio-ruby/rest/errors.rb
twilio-ruby-3.12.3 lib/twilio-ruby/rest/errors.rb
twilio-ruby-3.12.2 lib/twilio-ruby/rest/errors.rb
twilio-ruby-3.12.1 lib/twilio-ruby/rest/errors.rb
twilio-ruby-3.12.0 lib/twilio-ruby/rest/errors.rb
twilio-ruby-3.11.6 lib/twilio-ruby/rest/errors.rb
twilio-ruby-3.11.5 lib/twilio-ruby/rest/errors.rb
twilio-ruby-3.11.4 lib/twilio-ruby/rest/errors.rb
twilio-ruby-3.11.3 lib/twilio-ruby/rest/errors.rb
twilio-ruby-3.11.1 lib/twilio-ruby/rest/errors.rb
twilio-ruby-3.11.0 lib/twilio-ruby/rest/errors.rb
twilio-ruby-3.10.1 lib/twilio-ruby/rest/errors.rb
twilio-ruby-3.10.0 lib/twilio-ruby/rest/errors.rb
twilio-ruby-3.9.0 lib/twilio-ruby/rest/errors.rb
twilio-ruby-3.8.0 lib/twilio-ruby/rest/errors.rb
twilio-ruby-3.7.1 lib/twilio-ruby/rest/errors.rb
twilio-ruby-3.7.0 lib/twilio-ruby/rest/errors.rb
twilio-ruby-3.6.0 lib/twilio-ruby/rest/errors.rb