Exception: Gisele::Error
- Inherits:
-
StandardError
- Object
- StandardError
- Gisele::Error
- Defined in:
- lib/gisele/errors.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#cause ⇒ Object
readonly
Returns the value of attribute cause.
Instance Method Summary collapse
-
#initialize(msg, cause = $!) ⇒ Error
constructor
A new instance of Error.
Constructor Details
#initialize(msg, cause = $!) ⇒ Error
Returns a new instance of Error.
5 6 7 8 |
# File 'lib/gisele/errors.rb', line 5 def initialize(msg, cause = $!) super(msg) @cause = cause end |
Instance Attribute Details
#cause ⇒ Object (readonly)
Returns the value of attribute cause.
4 5 6 |
# File 'lib/gisele/errors.rb', line 4 def cause @cause end |