Exception: PaymobAccept::Errors::BadGateway
- Inherits:
-
StandardError
- Object
- StandardError
- PaymobAccept::Errors::BadGateway
- Defined in:
- lib/paymob_accept/errors/bad_gateway.rb
Instance Method Summary collapse
-
#initialize(message:) ⇒ BadGateway
constructor
A new instance of BadGateway.
Constructor Details
#initialize(message:) ⇒ BadGateway
Returns a new instance of BadGateway.
4 5 6 7 8 9 10 |
# File 'lib/paymob_accept/errors/bad_gateway.rb', line 4 def initialize(message:) super( title: 'Bad Gateway', status: 502, detail: || 'An error has occured communicating with the external gateway', ) end |