Exception: Pigeon::Http::Error

Inherits:
StandardError
  • Object
show all
Defined in:
lib/pigeon/http.rb

Direct Known Subclasses

Argument, Timeout, Transport, URI, Zlib

Defined Under Namespace

Classes: Argument, Timeout, Transport, URI, Zlib

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message, original_error = nil) ⇒ Error

Returns a new instance of Error.



223
224
225
226
# File 'lib/pigeon/http.rb', line 223

def initialize message, original_error = nil
  @original_error = original_error
  super(message)
end

Instance Attribute Details

#original_errorObject (readonly)

Returns the value of attribute original_error.



221
222
223
# File 'lib/pigeon/http.rb', line 221

def original_error
  @original_error
end