stack

Home > @infiniteobjects/shopify-data-manager > AdminTypes > ShopPolicyUserError

AdminTypes.ShopPolicyUserError interface

An error that occurs during the execution of a shop policy mutation.

Signature:

export interface ShopPolicyUserError extends DisplayableError 

Extends: DisplayableError

Properties

Property Modifiers Type Description
code?   Maybe<ShopPolicyErrorCode | `${ShopPolicyErrorCode}`> (Optional) The error code.
field?   Maybe<Array<Scalars[‘String’][‘output’]>> (Optional) The path to the input field that caused the error.
message   Scalars[‘String’][‘output’] The error message.