ForbiddenException constructor

const ForbiddenException(
  1. 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);