Exception: Her::Errors::PathError

Inherits:
Error
  • Object
show all
Defined in:
lib/her/errors.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message, missing_parameter = nil) ⇒ PathError

Returns a new instance of PathError.



11
12
13
14
# File 'lib/her/errors.rb', line 11

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

Instance Attribute Details

#missing_parameterObject (readonly)

Returns the value of attribute missing_parameter.



9
10
11
# File 'lib/her/errors.rb', line 9

def missing_parameter
  @missing_parameter
end