Exception: Toast::Errors::HandlerError
- Inherits:
-
StandardError
- Object
- StandardError
- Toast::Errors::HandlerError
- Defined in:
- lib/toast/errors.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#orig_error ⇒ Object
Returns the value of attribute orig_error.
-
#source_location ⇒ Object
Returns the value of attribute source_location.
Instance Method Summary collapse
-
#initialize(orig_error, source_location) ⇒ HandlerError
constructor
A new instance of HandlerError.
Constructor Details
#initialize(orig_error, source_location) ⇒ HandlerError
Returns a new instance of HandlerError.
7 8 9 10 11 |
# File 'lib/toast/errors.rb', line 7 def initialize orig_error, source_location @orig_error = orig_error @source_location = source_location super '' end |
Instance Attribute Details
#orig_error ⇒ Object
Returns the value of attribute orig_error.
5 6 7 |
# File 'lib/toast/errors.rb', line 5 def orig_error @orig_error end |
#source_location ⇒ Object
Returns the value of attribute source_location.
5 6 7 |
# File 'lib/toast/errors.rb', line 5 def source_location @source_location end |