Exception: Biosphere::ConfigurationError
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- Biosphere::ConfigurationError
- Defined in:
- lib/biosphere/exceptions.rb
Instance Attribute Summary collapse
-
#explanation ⇒ Object
Returns the value of attribute explanation.
-
#settings ⇒ Object
Returns the value of attribute settings.
Instance Method Summary collapse
-
#initialize(msg, settings = nil) ⇒ ConfigurationError
constructor
A new instance of ConfigurationError.
Constructor Details
#initialize(msg, settings = nil) ⇒ ConfigurationError
Returns a new instance of ConfigurationError.
8 9 10 11 12 |
# File 'lib/biosphere/exceptions.rb', line 8 def initialize(msg, settings = nil) super(msg) @settings = settings end |
Instance Attribute Details
#explanation ⇒ Object
Returns the value of attribute explanation.
6 7 8 |
# File 'lib/biosphere/exceptions.rb', line 6 def explanation @explanation end |
#settings ⇒ Object
Returns the value of attribute settings.
6 7 8 |
# File 'lib/biosphere/exceptions.rb', line 6 def settings @settings end |