@hpke/ohttp
    Preparing search index...

    Interface NodeListenerOptions

    Options of toNodeListener.

    interface NodeListenerOptions {
        onError?: (error: unknown) => void;
    }
    Index
    onError?: (error: unknown) => void

    Called with errors thrown by the handler or raised while its response is written. Failures caused by the client disconnecting are not reported.