AppException.forbidden constructor

AppException.forbidden(
  1. [String message = 'Forbidden']
)

Implementation

AppException.forbidden([this.message = 'Forbidden'])
    : code = HttpStatus.forbidden;