Exception: Ace::Support::Models::ProviderNotFoundError
- Inherits:
-
ValidationError
- Object
- StandardError
- Error
- ValidationError
- Ace::Support::Models::ProviderNotFoundError
- Defined in:
- lib/ace/support/models/errors.rb
Overview
Provider not found error
Instance Attribute Summary collapse
-
#provider_id ⇒ Object
readonly
Returns the value of attribute provider_id.
Instance Method Summary collapse
-
#initialize(provider_id) ⇒ ProviderNotFoundError
constructor
A new instance of ProviderNotFoundError.
Constructor Details
#initialize(provider_id) ⇒ ProviderNotFoundError
Returns a new instance of ProviderNotFoundError.
48 49 50 51 |
# File 'lib/ace/support/models/errors.rb', line 48 def initialize(provider_id) @provider_id = provider_id super("Provider '#{provider_id}' not found") end |
Instance Attribute Details
#provider_id ⇒ Object (readonly)
Returns the value of attribute provider_id.
46 47 48 |
# File 'lib/ace/support/models/errors.rb', line 46 def provider_id @provider_id end |