Exception: Transbank::TransaccionCompleta::Errors::TransaccionCompletaError
- Inherits:
-
Errors::TransbankError
- Object
- StandardError
- Errors::TransbankError
- Transbank::TransaccionCompleta::Errors::TransaccionCompletaError
- Defined in:
- lib/transbank/sdk/transaccion_completa/errors/transaccion_completa_error.rb
Direct Known Subclasses
TransactionCaptureError, TransactionCommitError, TransactionCreateError, TransactionInstallmentsError, TransactionRefundError, TransactionStatusError
Instance Attribute Summary collapse
-
#code ⇒ Object
Returns the value of attribute code.
-
#message ⇒ Object
Returns the value of attribute message.
Instance Method Summary collapse
-
#initialize(message, code = nil) ⇒ TransaccionCompletaError
constructor
A new instance of TransaccionCompletaError.
Constructor Details
#initialize(message, code = nil) ⇒ TransaccionCompletaError
Returns a new instance of TransaccionCompletaError.
7 8 9 10 11 |
# File 'lib/transbank/sdk/transaccion_completa/errors/transaccion_completa_error.rb', line 7 def initialize(, code = nil) @message = @code = code super() end |
Instance Attribute Details
#code ⇒ Object
Returns the value of attribute code.
5 6 7 |
# File 'lib/transbank/sdk/transaccion_completa/errors/transaccion_completa_error.rb', line 5 def code @code end |
#message ⇒ Object
Returns the value of attribute message.
5 6 7 |
# File 'lib/transbank/sdk/transaccion_completa/errors/transaccion_completa_error.rb', line 5 def @message end |