class ApiClient::Exceptions::BadGateway

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.

Public Class Methods

initialize() click to toggle source

Initialize a new exception.

@return [BadGateway] a new exception.

# File lib/api-client/exceptions/bad_gateway.rb, line 7
def self.initialize
  super('Bad Gateway!')
end