Interface: StorefrontErrorOptions
Properties
cause?
optionalcause?:unknown
Original error (if wrapping)
code
code:
string
Error code for programmatic handling
graphqlErrors?
optionalgraphqlErrors?:GraphQLErrorInfo[]
GraphQL-level errors from the response
message
message:
string
Human-readable message
retryAfterMs?
optionalretryAfterMs?:number
How long the server asked the caller to wait before retrying, in milliseconds,
parsed from the Retry-After response header. Present only when the server sent
a parsable value — undefined means "no instruction", not "retry immediately".
status?
optionalstatus?:number
HTTP status code (0 for network errors)
userErrors?
optionaluserErrors?:UserError[]
User errors from mutations (field-level validation)