Exception: ApiClient::Exceptions::BadGateway

Inherits:
Generic
  • Object
show all
Defined in:
lib/api-client/exceptions/bad_gateway.rb

Overview

Exception for a Bad Gateway Response ( Status Code : 502 ). The server, while acting as a gateway or proxy, received an invalid response from the upstream server it accessed in attempting to fulfill the request.

Class Method Summary collapse

Class Method Details

.initializeBadGateway

Initialize a new exception.

Returns:



7
8
9
# File 'lib/api-client/exceptions/bad_gateway.rb', line 7

def self.initialize
  super('Bad Gateway!')
end