fromIncompleteRequest

fun fromIncompleteRequest(    url: String,     httpMethod: HttpMethod,     startTime: Long,     endTime: Long,     errorType: String,     errorMessage: String,     traceId: String? = null,     w3cTraceparent: String? = null,     networkCaptureData: NetworkCaptureData? = null): EmbraceNetworkRequest

Construct a new EmbraceNetworkRequest instance where a HTTP response was not returned. If a response was returned, use .fromCompletedRequest instead.

Return

a new EmbraceNetworkRequest instance.

Parameters

url

the URL of the request.

httpMethod

the HTTP method of the request.

startTime

the start time of the request.

endTime

the end time of the request.

errorType

the error type that occurred.

errorMessage

the error message