ServerException constructor
- String? message,
- DioException? originalException,
- String? errorCode,
- String? traceId,
Creates a ServerException with an optional custom message.
Implementation
const ServerException({String? message, super.originalException, super.errorCode, super.traceId})
: super(message: message ?? "A server error occurred. Please try again later.");