Exception: Ace::Support::Models::ProviderNotFoundError

Inherits:
ValidationError show all
Defined in:
lib/ace/support/models/errors.rb

Overview

Provider not found error

Instance Attribute Summary collapse

Instance Method Summary collapse

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_idObject (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