Popii - v0.5.1
GitHub
npm
Preparing search index...
index
ComponentErrorMiddleware
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
(
err
:
any
,
pop
:
ComponentPop
<
TState
,
TInput
,
TLocals
>
,
next
:
(
err
?:
any
)
=>
Promise
<
void
>
|
void
,
)
:
Promise
<
void
>
|
void
Parameters
err
:
any
pop
:
ComponentPop
<
TState
,
TInput
,
TLocals
>
next
:
(
err
?:
any
)
=>
Promise
<
void
>
|
void
Returns
Promise
<
void
>
|
void
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
GitHub
npm
Popii - v0.5.1
Loading...
Error-handling component middleware — detected by arity (function.length === 3).