Class: Glia::Errors::BadGatewayError
- Defined in:
- lib/glia/errors/server_errors.rb
Instance Attribute Summary
Attributes inherited from Error
#error_details, #message, #ref, #type
Instance Method Summary collapse
-
#initialize(message: nil, error_details: nil) ⇒ BadGatewayError
constructor
A new instance of BadGatewayError.
Methods inherited from Error
Constructor Details
#initialize(message: nil, error_details: nil) ⇒ BadGatewayError
Returns a new instance of BadGatewayError.
17 18 19 20 21 22 23 24 |
# File 'lib/glia/errors/server_errors.rb', line 17 def initialize(message: nil, error_details: nil) super( type: BAD_GATEWAY_ERROR, ref: create_ref(BAD_GATEWAY_ERROR), message: || 'Bad Gateway', error_details: error_details ) end |