onError<ResponseType, InnerType> method

ApiResponse<ResponseType, InnerType> onError<ResponseType, InnerType>(
  1. ApiResponse<ResponseType, InnerType> response
)

Intercepts the error and returns the modified error

Implementation

ApiResponse<ResponseType, InnerType> onError<ResponseType, InnerType>(
        ApiResponse<ResponseType, InnerType> response) =>
    response;