stack

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

AdminTypes.DiscountUserError interface

An error that occurs during the execution of a discount mutation.

Signature:

export interface DiscountUserError extends DisplayableError 

Extends: DisplayableError

Properties

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