badGateway constant

int const badGateway

badGateway = 502.

This error response means that the server, while working as a gateway to get a response needed to handle the request, got an invalid response.

https://tools.ietf.org/html/rfc7231#section-6.6.3

Implementation

static const int badGateway = 502;