Exception: Her::Errors::PathError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/castle-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.



6
7
8
9
# File 'lib/castle-her/errors.rb', line 6

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.



4
5
6
# File 'lib/castle-her/errors.rb', line 4

def missing_parameter
  @missing_parameter
end