enaklo-flutter/lib/common/api/errors/unauthorized_error.dart

17 lines
457 B
Dart
Raw Normal View History

2025-08-27 12:43:25 +07:00
import 'package:dio/dio.dart';
class UnauthorizedError extends DioException {
final DioException dioError;
final String? messageError;
UnauthorizedError(this.dioError, this.messageError)
: super(
requestOptions: dioError.requestOptions,
error: dioError.error,
response: dioError.response,
type: dioError.type,
message: dioError.message,
stackTrace: dioError.stackTrace,
);
}