ServerErrorException constructor
ServerErrorException({
- bool silent = false,
- List<
String> messages = const [], - DioException? exception,
Creates a new instance of ServerErrorException.
Optionally accepts parameters to specify if the exception should be silent, a list of messages explaining the server error, and any underlying DioException for further details about the server failure.
Implementation
ServerErrorException({
super.silent,
super.messages,
super.exception,
});