Popii - v0.5.1
    Preparing search index...

    Type Alias ComponentErrorMiddleware<TState, TInput, TLocals>

    ComponentErrorMiddleware: (
        err: any,
        pop: ComponentPop<TState, TInput, TLocals>,
        next: (err?: any) => Promise<void> | void,
    ) => Promise<void> | void

    Error-handling component middleware — detected by arity (function.length === 3).

    Type Parameters

    • TState = any
    • TInput = any
    • TLocals = PopiiLocals & Record<string, any>

    Type Declaration