logNetworkError

public abstract void logNetworkError(    @NonNull() String url,     @NonNull() String httpMethod,     long startTime,     long endTime,     String errorType,     String errorMessage,     String traceId,     @Nullable() NetworkCaptureData networkCaptureData)

Logs an exception which occurred when attempting to make a network call.

Parameters

url

the URL being called

httpMethod

the HTTP method

startTime

the start time of the request

endTime

the end time of the request

errorType

the type of error being thrown

errorMessage

the error message

traceId

optional trace ID that can be used to trace a particular request

networkCaptureData

the additional data captured if network body capture is enabled for the URL