Exception: Porch::ContextStoppedError

Inherits:
RuntimeError
  • Object
show all
Defined in:
lib/porch/errors/context_stopped_error.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#contextObject (readonly)

Returns the value of attribute context.



3
4
5
# File 'lib/porch/errors/context_stopped_error.rb', line 3

def context
  @context
end