TooManyRequestsException constructor

const TooManyRequestsException(
  1. String message
)

Creates a TooManyRequestsException with the specified message.

The message is a human-readable description of the too many requests error.

Implementation

const TooManyRequestsException(String message)
    : super(message, HttpStatus.tooManyRequests);