Exception: Insika::ContextError
- Defined in:
- lib/insika/errors.rb
Overview
A required provider failed -> task :failed
Instance Attribute Summary collapse
-
#provider ⇒ Object
readonly
Returns the value of attribute provider.
Instance Method Summary collapse
-
#initialize(message = nil, provider: nil) ⇒ ContextError
constructor
A new instance of ContextError.
Constructor Details
#initialize(message = nil, provider: nil) ⇒ ContextError
Returns a new instance of ContextError.
27 28 29 30 |
# File 'lib/insika/errors.rb', line 27 def initialize( = nil, provider: nil) @provider = provider super( || "provider #{provider} failed") end |
Instance Attribute Details
#provider ⇒ Object (readonly)
Returns the value of attribute provider.
25 26 27 |
# File 'lib/insika/errors.rb', line 25 def provider @provider end |