Exception: LedgerSync::Error::AdaptorError::UnknownURLFormat
- Inherits:
-
LedgerSync::Error::AdaptorError
- Object
- StandardError
- LedgerSync::Error
- LedgerSync::Error::AdaptorError
- LedgerSync::Error::AdaptorError::UnknownURLFormat
- Defined in:
- lib/ledger_sync/error/adaptor_errors.rb
Instance Attribute Summary collapse
-
#resource ⇒ Object
readonly
Returns the value of attribute resource.
Attributes inherited from LedgerSync::Error::AdaptorError
Attributes inherited from LedgerSync::Error
Instance Method Summary collapse
-
#initialize(*args, resource:, **keywords) ⇒ UnknownURLFormat
constructor
A new instance of UnknownURLFormat.
Constructor Details
#initialize(*args, resource:, **keywords) ⇒ UnknownURLFormat
Returns a new instance of UnknownURLFormat.
61 62 63 64 65 66 67 68 |
# File 'lib/ledger_sync/error/adaptor_errors.rb', line 61 def initialize(*args, resource:, **keywords) super( *args, { message: "Unknown URL format for #{resource.class}" }.merge(keywords) ) end |
Instance Attribute Details
#resource ⇒ Object (readonly)
Returns the value of attribute resource.
59 60 61 |
# File 'lib/ledger_sync/error/adaptor_errors.rb', line 59 def resource @resource end |