Exception: StateFu::Error
- Inherits:
-
StandardError
- Object
- StandardError
- StateFu::Error
- Defined in:
- lib/support/exceptions.rb
Direct Known Subclasses
Instance Attribute Summary (collapse)
-
- (Object) binding
readonly
Returns the value of attribute binding.
-
- (Object) options
readonly
Returns the value of attribute options.
Instance Method Summary (collapse)
-
- (Error) initialize(binding, message = nil, options = {})
constructor
A new instance of Error.
Constructor Details
- (Error) initialize(binding, message = nil, options = {})
A new instance of Error
9 10 11 12 13 |
# File 'lib/support/exceptions.rb', line 9 def initialize binding, =nil, ={} @binding = binding @options = super end |
Instance Attribute Details
- (Object) binding (readonly)
Returns the value of attribute binding
7 8 9 |
# File 'lib/support/exceptions.rb', line 7 def binding @binding end |
- (Object) options (readonly)
Returns the value of attribute options
7 8 9 |
# File 'lib/support/exceptions.rb', line 7 def @options end |