mockttp
    Preparing search index...

    Interface ClientError

    A client error event describes a request (or our best guess at parsing it), that wasn't correctly completed, and the error response it received, or 'aborted' if the connection was disconnected before we could respond.

    interface ClientError {
        errorCode?: string;
        request: {
            destination?: Destination;
            headers: Headers;
            httpVersion: string;
            id: string;
            method?: string;
            path?: string;
            protocol?: string;
            rawHeaders: RawHeaders;
            remoteIpAddress?: string;
            remotePort?: number;
            tags: string[];
            timingEvents: TimingEvents;
            url?: string;
        };
        response: "aborted"
        | CompletedResponse;
    }
    Index
    errorCode?: string
    request: {
        destination?: Destination;
        headers: Headers;
        httpVersion: string;
        id: string;
        method?: string;
        path?: string;
        protocol?: string;
        rawHeaders: RawHeaders;
        remoteIpAddress?: string;
        remotePort?: number;
        tags: string[];
        timingEvents: TimingEvents;
        url?: string;
    }
    response: "aborted" | CompletedResponse