Exception: RailVerdict::ConfigurationError

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message, source_path: nil, property_path: nil) ⇒ ConfigurationError

Returns a new instance of ConfigurationError.



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

def initialize(message, source_path: nil, property_path: nil)
  super(message)
  @source_path = source_path
  @property_path = property_path
end

Instance Attribute Details

#property_pathObject (readonly)

Returns the value of attribute property_path.



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

def property_path
  @property_path
end

#source_pathObject (readonly)

Returns the value of attribute source_path.



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

def source_path
  @source_path
end