Exception: Toast::Errors::HandlerError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/toast/errors.rb

Direct Known Subclasses

AllowError

Instance Attribute Summary collapse

Instance Method Summary collapse

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_errorObject

Returns the value of attribute orig_error.



5
6
7
# File 'lib/toast/errors.rb', line 5

def orig_error
  @orig_error
end

#source_locationObject

Returns the value of attribute source_location.



5
6
7
# File 'lib/toast/errors.rb', line 5

def source_location
  @source_location
end