bupkis
API
Assertions
Preparing search index...
bupkis
z
core
$ZodCatchDef
Interface $ZodCatchDef<T>
interface
$ZodCatchDef
<
T
extends
SomeType
=
z
.
core
.
$ZodType
>
{
type
:
"catch"
;
innerType
:
T
;
catchValue
:
(
ctx
:
$ZodCatchCtx
)
=>
unknown
;
error
?:
$ZodErrorMap
<
never
>
;
checks
?:
z
.
core
.
$ZodCheck
<
never
>
[]
;
}
Type Parameters
T
extends
SomeType
=
z
.
core
.
$ZodType
Hierarchy (
View Summary
)
$ZodTypeDef
$ZodCatchDef
Index
Properties
type
inner
Type
catch
Value
error?
checks?
Properties
type
type
:
"catch"
inner
Type
innerType
:
T
catch
Value
catchValue
:
(
ctx
:
$ZodCatchCtx
)
=>
unknown
Optional
error
error
?:
$ZodErrorMap
<
never
>
Optional
checks
checks
?:
z
.
core
.
$ZodCheck
<
never
>
[]
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
type
inner
Type
catch
Value
error
checks
API
Assertions
GitHub
npm
bupkis
Loading...