Exception: AfterbanksPSD2::Error
- Inherits:
-
StandardError
- Object
- StandardError
- AfterbanksPSD2::Error
- Defined in:
- lib/afterbanks_psd2/error.rb
Direct Known Subclasses
AccountNotFoundError, ConsentWithUnfinalizedProcessError, ExpiredConsentError, GenericConsentError, GenericError, GenericTransactionError, IncorrectParametersError, InvalidConsentError, InvalidConsentForProductError, MaximumNumberOfCallsReachedConsentError, ProductMismatchConsentError
Instance Attribute Summary collapse
-
#debug_id ⇒ Object
readonly
Returns the value of attribute debug_id.
-
#message ⇒ Object
readonly
Returns the value of attribute message.
Instance Method Summary collapse
- #code ⇒ Object
-
#initialize(message:, debug_id:) ⇒ Error
constructor
A new instance of Error.
Constructor Details
#initialize(message:, debug_id:) ⇒ Error
Returns a new instance of Error.
5 6 7 8 9 10 |
# File 'lib/afterbanks_psd2/error.rb', line 5 def initialize(message:, debug_id:) super @message = @debug_id = debug_id end |
Instance Attribute Details
#debug_id ⇒ Object (readonly)
Returns the value of attribute debug_id.
3 4 5 |
# File 'lib/afterbanks_psd2/error.rb', line 3 def debug_id @debug_id end |
#message ⇒ Object (readonly)
Returns the value of attribute message.
3 4 5 |
# File 'lib/afterbanks_psd2/error.rb', line 3 def @message end |
Instance Method Details
#code ⇒ Object
12 13 14 |
# File 'lib/afterbanks_psd2/error.rb', line 12 def code raise 'Not implemented' end |