Type Alias SessionKitHonoAdapterOptions

SessionKitHonoAdapterOptions: {
    onError?: (
        error: SessionKitError,
        c: Context,
    ) => Promise<Response | void> | Response | void;
}

Adapter options for Hono integration.

Type declaration

  • OptionalonError?: (
        error: SessionKitError,
        c: Context,
    ) => Promise<Response | void> | Response | void