Preparing search index...
The search index is not available
@rendley/sdk - v1.5.0
@rendley/sdk
Zod
z
ZodCatchDef
Interface ZodCatchDef<T>
interface
ZodCatchDef
<
T
>
{
catchValue
:
(
(
ctx
)
=>
T
[
"_input"
]
)
;
description
?:
string
;
errorMap
?:
ZodErrorMap
;
innerType
:
T
;
typeName
:
ZodCatch
;
}
Type Parameters
T
extends
ZodTypeAny
=
ZodTypeAny
Hierarchy (
view full
)
ZodTypeDef
ZodCatchDef
Index
Properties
catch
Value
description?
error
Map?
inner
Type
type
Name
Properties
catch
Value
catch
Value
:
(
(
ctx
)
=>
T
[
"_input"
]
)
Type declaration
(
ctx
)
:
T
[
"_input"
]
Parameters
ctx
:
{
error
:
ZodError
<
any
>
;
input
:
unknown
;
}
error
:
ZodError
<
any
>
input
:
unknown
Returns
T
[
"_input"
]
Optional
description
description
?:
string
Optional
error
Map
error
Map
?:
ZodErrorMap
inner
Type
inner
Type
:
T
type
Name
type
Name
:
ZodCatch
Settings
Member Visibility
Inherited
External
Theme
OS
Light
Dark
On This Page
catch
Value
description
error
Map
inner
Type
type
Name
@rendley/sdk - v1.5.0
Loading...
Generated using
TypeDoc