Exception: Asynchronous::Error

Inherits:
StandardError
  • Object
show all
Defined in:
lib/asynchronous/error.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(wrapped_error) ⇒ Error

Returns a new instance of Error.



4
5
6
# File 'lib/asynchronous/error.rb', line 4

def initialize(wrapped_error)
  @wrapped_error= wrapped_error
end

Instance Attribute Details

#wrapped_errorObject (readonly)

Returns the value of attribute wrapped_error.



3
4
5
# File 'lib/asynchronous/error.rb', line 3

def wrapped_error
  @wrapped_error
end