error static method
void
error(
- DioException err
Implementation
static void error(DioException err) {
debugPrint("$yellow🔴 ERROR → ${err.requestOptions.path}$reset");
debugPrint("$yellow 🔸 Message: ${err.message}$reset");
debugPrint("$yellow 🔸 Response: ${err.response?.data}$reset");
}