Exception: StateFu::Error

Inherits:
StandardError
  • Object
show all
Defined in:
lib/support/exceptions.rb

Direct Known Subclasses

TransitionError, TransitionNotFound

Instance Attribute Summary (collapse)

Instance Method Summary (collapse)

Constructor Details

- (Error) initialize(binding, message = nil, options = {})



9
10
11
12
13
# File 'lib/support/exceptions.rb', line 9

def initialize binding, message=nil, options={}
  @binding = binding
  @options = options
  super message
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
  @options
end