BadGatewayException constructor

const BadGatewayException(
  1. String message
)

Creates a BadGatewayException with the specified message.

The message is a human-readable description of the bad gateway error.

Implementation

const BadGatewayException(String message)
    : super(message, HttpStatus.badGateway);