Home > @infiniteobjects/shopify-data-manager > AdminTypes > MetaobjectUserError
Defines errors encountered while managing metaobject resources.
Signature:
export interface MetaobjectUserError extends DisplayableError
Extends: DisplayableError
Property | Modifiers | Type | Description |
---|---|---|---|
code? | Maybe<MetaobjectUserErrorCode | `${MetaobjectUserErrorCode}`> | (Optional) The error code. | |
elementIndex? | Maybe<Scalars[‘Int’][‘output’]> | (Optional) The index of the failing list element in an array. | |
elementKey? | Maybe<Scalars[‘String’][‘output’]> | (Optional) The key of the failing object element. | |
field? | Maybe<Array<Scalars[‘String’][‘output’]>> | (Optional) The path to the input field that caused the error. | |
message | Scalars[‘String’][‘output’] | The error message. |