logError abstract method

void logError(
  1. Object error,
  2. StackTrace stackTrace,
  3. RequestOptions options, {
  4. Response? response,
})

Logs an error that occurred during parsing of response data.

  • error is the error that occurred.
  • stackTrace is the stack trace of the error.
  • options are the options that were used to make the request.
  • response is the response that was received (optional).

Implementation

void logError(Object error, StackTrace stackTrace, RequestOptions options, {Response? response});