ForbiddenException constructor

ForbiddenException({
  1. bool silent = false,
  2. List<String> messages = const [],
  3. DioException? exception,
})

Creates a new instance of ForbiddenException.

Optionally accepts parameters to control whether the exception is silent, a list of error messages, and an underlying DioException for further details.

Implementation

ForbiddenException({super.silent, super.messages, super.exception});