apskel-pos-flutter-v2/lib/common/api/errors/unauthorized_error.dart
2025-10-23 22:16:53 +07:00

17 lines
457 B
Dart

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,
);
}