@shopify/cli-kit
Preparing search index...
node/error/schema
jsonErrorOutputSchema
Variable jsonErrorOutputSchema
Const
jsonErrorOutputSchema
:
JsonOutputSchema
<
ZodObject
<
{
error
:
ZodUnion
<
[
ZodObject
<
{
customSections
:
ZodOptional
<
ZodArray
<
ZodObject
<
{
body
:
...
;
title
:
...
}
,
"strict"
,
ZodTypeAny
,
{
body
:
...
;
title
?:
...
}
,
{
body
:
...
;
title
?:
...
}
,
>
,
"many"
,
>
,
>
;
details
:
ZodOptional
<
ZodUnknown
>
;
message
:
ZodString
;
nextSteps
:
ZodOptional
<
ZodArray
<
ZodString
,
"many"
>
>
;
tryMessage
:
ZodOptional
<
ZodString
>
;
type
:
ZodLiteral
<
"abort"
>
;
}
,
"strict"
,
ZodTypeAny
,
{
customSections
?:
{
body
:
(...)
|
(...)
;
title
?:
(...)
|
(...)
}
[]
;
details
?:
unknown
;
message
:
string
;
nextSteps
?:
string
[]
;
tryMessage
?:
string
;
type
:
"abort"
;
}
,
{
customSections
?:
{
body
:
(...)
|
(...)
;
title
?:
(...)
|
(...)
}
[]
;
details
?:
unknown
;
message
:
string
;
nextSteps
?:
string
[]
;
tryMessage
?:
string
;
type
:
"abort"
;
}
,
>
,
ZodObject
<
{
customSections
:
ZodOptional
<
ZodArray
<
ZodObject
<
{
body
:
...
;
title
:
...
}
,
"strict"
,
ZodTypeAny
,
{
body
:
...
;
title
?:
...
}
,
{
body
:
...
;
title
?:
...
}
,
>
,
"many"
,
>
,
>
;
details
:
ZodOptional
<
ZodUnknown
>
;
message
:
ZodString
;
nextSteps
:
ZodOptional
<
ZodArray
<
ZodString
,
"many"
>
>
;
stack
:
ZodOptional
<
ZodString
>
;
tryMessage
:
ZodOptional
<
ZodString
>
;
type
:
ZodLiteral
<
"bug"
>
;
}
,
"strict"
,
ZodTypeAny
,
{
customSections
?:
{
body
:
(...)
|
(...)
;
title
?:
(...)
|
(...)
}
[]
;
details
?:
unknown
;
message
:
string
;
nextSteps
?:
string
[]
;
stack
?:
string
;
tryMessage
?:
string
;
type
:
"bug"
;
}
,
{
customSections
?:
{
body
:
(...)
|
(...)
;
title
?:
(...)
|
(...)
}
[]
;
details
?:
unknown
;
message
:
string
;
nextSteps
?:
string
[]
;
stack
?:
string
;
tryMessage
?:
string
;
type
:
"bug"
;
}
,
>
,
ZodObject
<
{
args
:
ZodArray
<
ZodString
,
"many"
>
;
command
:
ZodString
;
customSections
:
ZodOptional
<
ZodArray
<
ZodObject
<
{
body
:
...
;
title
:
...
}
,
"strict"
,
ZodTypeAny
,
{
body
:
...
;
title
?:
...
}
,
{
body
:
...
;
title
?:
...
}
,
>
,
"many"
,
>
,
>
;
details
:
ZodOptional
<
ZodUnknown
>
;
message
:
ZodString
;
nextSteps
:
ZodOptional
<
ZodArray
<
ZodString
,
"many"
>
>
;
tryMessage
:
ZodOptional
<
ZodString
>
;
type
:
ZodLiteral
<
"external"
>
;
}
,
"strict"
,
ZodTypeAny
,
{
args
:
string
[]
;
command
:
string
;
customSections
?:
{
body
:
(...)
|
(...)
;
title
?:
(...)
|
(...)
}
[]
;
details
?:
unknown
;
message
:
string
;
nextSteps
?:
string
[]
;
tryMessage
?:
string
;
type
:
"external"
;
}
,
{
args
:
string
[]
;
command
:
string
;
customSections
?:
{
body
:
(...)
|
(...)
;
title
?:
(...)
|
(...)
}
[]
;
details
?:
unknown
;
message
:
string
;
nextSteps
?:
string
[]
;
tryMessage
?:
string
;
type
:
"external"
;
}
,
>
,
]
,
>
;
}
,
"strict"
,
ZodTypeAny
,
{
error
:
|
{
customSections
?:
{
body
:
string
|
(...)
[]
[]
;
title
?:
string
}
[]
;
details
?:
unknown
;
message
:
string
;
nextSteps
?:
string
[]
;
tryMessage
?:
string
;
type
:
"abort"
;
}
|
{
customSections
?:
{
body
:
string
|
(...)
[]
[]
;
title
?:
string
}
[]
;
details
?:
unknown
;
message
:
string
;
nextSteps
?:
string
[]
;
stack
?:
string
;
tryMessage
?:
string
;
type
:
"bug"
;
}
|
{
args
:
string
[]
;
command
:
string
;
customSections
?:
{
body
:
string
|
(...)
[]
[]
;
title
?:
string
}
[]
;
details
?:
unknown
;
message
:
string
;
nextSteps
?:
string
[]
;
tryMessage
?:
string
;
type
:
"external"
;
}
;
}
,
{
error
:
|
{
customSections
?:
{
body
:
string
|
(...)
[]
[]
;
title
?:
string
}
[]
;
details
?:
unknown
;
message
:
string
;
nextSteps
?:
string
[]
;
tryMessage
?:
string
;
type
:
"abort"
;
}
|
{
customSections
?:
{
body
:
string
|
(...)
[]
[]
;
title
?:
string
}
[]
;
details
?:
unknown
;
message
:
string
;
nextSteps
?:
string
[]
;
stack
?:
string
;
tryMessage
?:
string
;
type
:
"bug"
;
}
|
{
args
:
string
[]
;
command
:
string
;
customSections
?:
{
body
:
string
|
(...)
[]
[]
;
title
?:
string
}
[]
;
details
?:
unknown
;
message
:
string
;
nextSteps
?:
string
[]
;
tryMessage
?:
string
;
type
:
"external"
;
}
;
}
,
>
,
>
= ...
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
@shopify/cli-kit
Loading...