core/errors/exception_handling library

Functions

handleException(Response data) Map<String, dynamic>
Handles and validates API responses by parsing the response body, detecting errors, and throwing the appropriate custom exceptions.