handleException function
- @protected
- Exception exception,
- ParseApiRQ type,
- bool debug,
- String className,
Handles an API response and logs data if bool debug is enabled
Implementation
@protected
ParseResponse handleException(
Exception exception, ParseApiRQ type, bool debug, String className) {
final ParseResponse parseResponse =
buildParseResponseWithException(exception);
if (debug) {
logAPIResponse(className, type.toString(), parseResponse);
}
return parseResponse;
}