Sha256: f092085b872f1abe3a6652522ed01162d6b3f9ad8ca994cf05361f32e8ec24cd

Contents?: true

Size: 563 Bytes

Versions: 24

Compression:

Stored size: 563 Bytes

Contents

module PortaText
  module Exception
    # Generic endpoint request error
    #
    # Author::    Marcelo Gornstein (mailto:marcelog@portatext.com)
    # Copyright:: Copyright (c) 2015 PortaText
    # License::   Apache-2.0
    class RequestError < ::RuntimeError
      attr_reader :descriptor
      attr_reader :original
      attr_reader :result

      def initialize(descriptor, result = nil, message = nil, original = nil)
        super message
        @descriptor = descriptor
        @original = original
        @result = result
      end
    end
  end
end

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
portatext-1.6.1 lib/portatext/exception/request_error.rb
portatext-1.6.0 lib/portatext/exception/request_error.rb
portatext-1.5.23 lib/portatext/exception/request_error.rb
portatext-1.5.22 lib/portatext/exception/request_error.rb
portatext-1.5.21 lib/portatext/exception/request_error.rb
portatext-1.5.20 lib/portatext/exception/request_error.rb
portatext-1.5.19 lib/portatext/exception/request_error.rb
portatext-1.5.18 lib/portatext/exception/request_error.rb
portatext-1.5.17 lib/portatext/exception/request_error.rb
portatext-1.5.16 lib/portatext/exception/request_error.rb
portatext-1.5.15 lib/portatext/exception/request_error.rb
portatext-1.5.14 lib/portatext/exception/request_error.rb
portatext-1.5.13 lib/portatext/exception/request_error.rb
portatext-1.5.12 lib/portatext/exception/request_error.rb
portatext-1.5.11 lib/portatext/exception/request_error.rb
portatext-1.5.10 lib/portatext/exception/request_error.rb
portatext-1.5.9 lib/portatext/exception/request_error.rb
portatext-1.5.8 lib/portatext/exception/request_error.rb
portatext-1.5.7 lib/portatext/exception/request_error.rb
portatext-1.5.6 lib/portatext/exception/request_error.rb