Skip to content

module exceptions


function not_our_fault

not_our_fault(exception: Exception)

Simple function to identify invalid Shopify calls, i.e. our mistake.

Probably the only way to make sure we retry for any other exception but those.


class ShopifyError

Exception to identify any Shopify error.


class ShopifyGQLError

Exception to identify any Shopify admin graphql error.


class ShopifyGQLUserError

Exception to identify any Shopify admin graphql error caused by the user mistake.


class ShopifyCallInvalidError

Exception to identify errors that our due to bad data sent by us.

These should not be retried


class ShopifyThrottledError

Exception to identify errors that are due to rate limit control.


class ShopifyExceedingMaxCostError

Exception to identify errors that are due to queries exceeding the max query size.


class FastAPIImportError

Exception to identify errors when spylip.oauth is accessed without fastapi installed.


This file was automatically generated via lazydocs.