Sha256: 3ac18fb9a064a507739389f0f92e9276e9fe5fdbfb97fa8c18bec757ff6b9ddf

Contents?: true

Size: 236 Bytes

Versions: 7

Compression:

Stored size: 236 Bytes

Contents

module ThreeScale
  module API
    class ResponseError < StandardError
      attr_reader :response

      def initialize(response, message = response.to_s)
        super(message)
        @response = response
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
3scale-api-1.6.0 lib/3scale/api/errors.rb
3scale-api-1.5.0 lib/3scale/api/errors.rb
3scale-api-1.4.0 lib/3scale/api/errors.rb
3scale-api-1.3.0 lib/3scale/api/errors.rb
3scale-api-1.2.0 lib/3scale/api/errors.rb
3scale-api-1.1.0 lib/3scale/api/errors.rb
3scale-api-1.0.0 lib/3scale/api/errors.rb