lib/api-client/exceptions/bad_gateway.rb in api-client-1.2.0 vs lib/api-client/exceptions/bad_gateway.rb in api-client-1.3.0
- old
+ new
@@ -1,3 +1,8 @@
+# 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 ApiClient::Exceptions::BadGateway < ApiClient::Exceptions::Generic
+ # Initialize a new exception.
+ #
+ # @return [BadGateway] a new exception.
def self.initialize
super("Bad Gateway!")
end
\ No newline at end of file