Exception: Biosphere::ConfigurationError

Inherits:
RuntimeError
  • Object
show all
Defined in:
lib/biosphere/exceptions.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#explanationObject

Returns the value of attribute explanation.



6
7
8
# File 'lib/biosphere/exceptions.rb', line 6

def explanation
  @explanation
end

#settingsObject

Returns the value of attribute settings.



6
7
8
# File 'lib/biosphere/exceptions.rb', line 6

def settings
  @settings
end