ServerErrorException constructor

ServerErrorException({
  1. bool silent = false,
  2. List<String> messages = const [],
  3. 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,
});