Exception: Shifty::PolicyError
- Defined in:
- lib/shifty/errors.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#policy ⇒ Object
readonly
Returns the value of attribute policy.
-
#value ⇒ Object
readonly
Returns the value of attribute value.
-
#worker ⇒ Object
readonly
Returns the value of attribute worker.
Instance Method Summary collapse
Instance Attribute Details
#policy ⇒ Object (readonly)
Returns the value of attribute policy.
9 10 11 |
# File 'lib/shifty/errors.rb', line 9 def policy @policy end |
#value ⇒ Object (readonly)
Returns the value of attribute value.
9 10 11 |
# File 'lib/shifty/errors.rb', line 9 def value @value end |
#worker ⇒ Object (readonly)
Returns the value of attribute worker.
9 10 11 |
# File 'lib/shifty/errors.rb', line 9 def worker @worker end |
Instance Method Details
#cause ⇒ Object
11 12 13 |
# File 'lib/shifty/errors.rb', line 11 def cause @wrapped_cause || super end |