ForbiddenException constructor
ForbiddenException({
- bool silent = false,
- List<
String> messages = const [], - 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,
});