badGateway constant
HttpStatus
const badGateway
502 Bad Gateway
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.
Implementation
static const badGateway = HttpStatus(502);