I can’t really figure out what is the meaning of checkoutUserErrors in the checkout mutations in the Storefront API.
The field exist on every mutation, but what are the possible outcomes? Is it a message that I should display for the user?
Thanks
customerUserErrors ([CustomerUserError!]!)
List of errors that occurred executing the mutation.
BulkOperationRunQuery:
userErrors ([UserError!]!) List of errors that occurred executing the mutation
WebhookSubscriptionDelete:
userErrors ([UserError!]!)
List of errors that occurred executing the mutation.
Yeah, these are just errors for you, the coder. They’re to help you decide the next best course of action in case of an error.
It’s just named weird - like everything in the Shopify API’s and documentation.