Exception: ROM::AdapterNotPresentError
- Inherits:
-
StandardError
- Object
- StandardError
- ROM::AdapterNotPresentError
- Defined in:
- core/lib/rom/constants.rb
Overview
Exception raised when a component is configured with an adapter that's not loaded
Instance Method Summary collapse
-
#initialize(adapter, component) ⇒ AdapterNotPresentError
constructor
private
A new instance of AdapterNotPresentError.
Constructor Details
#initialize(adapter, component) ⇒ AdapterNotPresentError
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Returns a new instance of AdapterNotPresentError.
12 13 14 15 16 17 |
# File 'core/lib/rom/constants.rb', line 12 def initialize(adapter, component) super( "Failed to find #{component} class for #{adapter} adapter. " \ 'Make sure ROM setup was started and the adapter identifier is correct.' ) end |