Integration App SDK - v1.14.0
Console
React Lib
REST API
Preparing search index...
@integration-app/sdk
ZodError
Class ZodError<T>
Type Parameters
T
=
any
Hierarchy
Error
ZodError
Index
Constructors
constructor
Properties
issues
create
add
Issue
add
Issues
Accessors
errors
message
is
Empty
form
Errors
Methods
format
assert
to
String
flatten
Constructors
constructor
new
ZodError
<
T
=
any
>
(
issues
:
ZodIssue
[]
)
:
ZodError
<
T
>
Type Parameters
T
=
any
Parameters
issues
:
ZodIssue
[]
Returns
ZodError
<
T
>
Properties
issues
issues
:
ZodIssue
[]
Static
create
create
:
(
issues
:
ZodIssue
[]
)
=>
ZodError
<
any
>
add
Issue
addIssue
:
(
sub
:
ZodIssue
)
=>
void
add
Issues
addIssues
:
(
subs
?:
ZodIssue
[]
)
=>
void
Accessors
errors
get
errors
()
:
ZodIssue
[]
Returns
ZodIssue
[]
message
get
message
()
:
string
Returns
string
is
Empty
get
isEmpty
()
:
boolean
Returns
boolean
form
Errors
get
formErrors
()
:
typeToFlattenedError
<
T
,
string
>
Returns
typeToFlattenedError
<
T
,
string
>
Methods
format
format
()
:
ZodFormattedError
<
T
>
Returns
ZodFormattedError
<
T
>
format
<
U
>
(
mapper
:
(
issue
:
ZodIssue
)
=>
U
)
:
ZodFormattedError
<
T
,
U
>
Type Parameters
U
Parameters
mapper
:
(
issue
:
ZodIssue
)
=>
U
Returns
ZodFormattedError
<
T
,
U
>
Static
assert
assert
(
value
:
unknown
)
:
asserts
value
is
ZodError
<
any
>
Parameters
value
:
unknown
Returns
asserts
value
is
ZodError
<
any
>
to
String
toString
()
:
string
Returns a string representation of an object.
Returns
string
flatten
flatten
()
:
typeToFlattenedError
<
T
>
Returns
typeToFlattenedError
<
T
>
flatten
<
U
>
(
mapper
?:
(
issue
:
ZodIssue
)
=>
U
)
:
typeToFlattenedError
<
T
,
U
>
Type Parameters
U
Parameters
Optional
mapper
:
(
issue
:
ZodIssue
)
=>
U
Returns
typeToFlattenedError
<
T
,
U
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
issues
create
add
Issue
add
Issues
Accessors
errors
message
is
Empty
form
Errors
Methods
format
assert
to
String
flatten
Console
React Lib
REST API
Integration App SDK - v1.14.0
Loading...
Returns a string representation of an object.