Exception: Porch::ContextStoppedError
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- Porch::ContextStoppedError
- Defined in:
- lib/porch/errors/context_stopped_error.rb
Instance Attribute Summary collapse
-
#context ⇒ Object
readonly
Returns the value of attribute context.
Instance Method Summary collapse
-
#initialize(context) ⇒ ContextStoppedError
constructor
A new instance of ContextStoppedError.
Constructor Details
#initialize(context) ⇒ ContextStoppedError
Returns a new instance of ContextStoppedError.
5 6 7 |
# File 'lib/porch/errors/context_stopped_error.rb', line 5 def initialize(context) @context = context end |
Instance Attribute Details
#context ⇒ Object (readonly)
Returns the value of attribute context.
3 4 5 |
# File 'lib/porch/errors/context_stopped_error.rb', line 3 def context @context end |