ForbiddenException constructor
const
ForbiddenException(
- String message
Creates a ForbiddenException with the specified message
.
The message
is a human-readable description of the forbidden error.
Implementation
const ForbiddenException(String message)
: super(message, HttpStatus.forbidden);