Type Alias WsApiErrorHandler<ResponseCommandsT, QueryT>

WsApiErrorHandler<ResponseCommandsT, QueryT>: ((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