express-yaschema-ws-api-handler
    Preparing search index...

    Type Alias WsApiErrorHandler<ResponseCommandsT, QueryT>

    WsApiErrorHandler: (
        args: {
            connectionId: string;
            error: Error;
            express: { next: NextFunction; req: Request; ws: WebSocket };
            output: WsApiResponders<ResponseCommandsT>;
            query: QueryT;
        },
    ) => Promise<void>

    Type Parameters

    • ResponseCommandsT extends AnyCommands
    • QueryT extends AnyQuery

    Type declaration