bupkis
API
Assertions
Preparing search index...
bupkis
z
core
formatError
Function formatError
formatError
<
T
>
(
error
:
z
.
core
.
$ZodError
<
T
>
)
:
$ZodFormattedError
<
T
>
Type Parameters
T
Parameters
error
:
z
.
core
.
$ZodError
<
T
>
Returns
$ZodFormattedError
<
T
>
formatError
<
T
,
U
>
(
error
:
z
.
core
.
$ZodError
<
T
>
,
mapper
?:
(
issue
:
$ZodIssue
)
=>
U
,
)
:
$ZodFormattedError
<
T
,
U
>
Type Parameters
T
U
Parameters
error
:
z
.
core
.
$ZodError
<
T
>
Optional
mapper
:
(
issue
:
$ZodIssue
)
=>
U
Returns
$ZodFormattedError
<
T
,
U
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
API
Assertions
GitHub
npm
bupkis
Loading...