Exception: Pincers::ContextError
- Defined in:
- lib/pincers/errors.rb
Direct Known Subclasses
BackendError, ConditionTimeoutError, EmptySetError, FrozenSetError
Instance Attribute Summary collapse
-
#context ⇒ Object
readonly
Returns the value of attribute context.
Instance Method Summary collapse
-
#initialize(_context, _msg) ⇒ ContextError
constructor
A new instance of ContextError.
Constructor Details
#initialize(_context, _msg) ⇒ ContextError
Returns a new instance of ContextError.
22 23 24 25 |
# File 'lib/pincers/errors.rb', line 22 def initialize(_context, _msg) super _msg @context = _context end |
Instance Attribute Details
#context ⇒ Object (readonly)
Returns the value of attribute context.
20 21 22 |
# File 'lib/pincers/errors.rb', line 20 def context @context end |