NetworkAppException constructor
- required String message,
- DioException? originalException,
- String? errorCode,
- String? traceId,
Creates a network exception with the given message.
The optional originalException preserves the underlying Dio error for
detailed debugging and error-specific handling. errorCode and
traceId are populated from the backend's ErrorResponse envelope when
available.
Implementation
const NetworkAppException({required super.message, this.originalException, this.errorCode, this.traceId});