Exception: OsCtld::ConfigError
- Inherits:
-
StandardError
- Object
- StandardError
- OsCtld::ConfigError
- Defined in:
- lib/osctld/exceptions.rb
Instance Attribute Summary collapse
-
#original_exception ⇒ Exception?
readonly
Original exception.
Instance Method Summary collapse
-
#initialize(msg, original_exception = nil) ⇒ ConfigError
constructor
A new instance of ConfigError.
Constructor Details
#initialize(msg, original_exception = nil) ⇒ ConfigError
Returns a new instance of ConfigError.
10 11 12 13 |
# File 'lib/osctld/exceptions.rb', line 10 def initialize(msg, original_exception = nil) super(msg) @original_exception = original_exception end |
Instance Attribute Details
#original_exception ⇒ Exception? (readonly)
Returns original exception.
8 9 10 |
# File 'lib/osctld/exceptions.rb', line 8 def original_exception @original_exception end |