NetworkException constructor
- String? message,
- DioException? originalException,
- String? errorCode,
- String? traceId,
Creates a NetworkException with an optional custom message.
Implementation
const NetworkException({String? message, super.originalException, super.errorCode, super.traceId})
: super(message: message ?? "Please check your network connection and try again.");