core/errors/error_mapper library
Classes
- ErrorMapper
-
Maps raw exceptions (including
DioException) to typed AppError subclasses based on status codes and error types.
DioException) to typed AppError
subclasses based on status codes and error types.