ExShopifyApp.AccessToken.RefreshResult (ex_shopify_app v1.0.0)

Classifies and labels offline access-token refresh errors.

This module keeps Shopify/Tesla-specific refresh error handling out of the repo-backed token store so ExShopifyApp.AccessToken.Repo can focus on persistence and locking.

Summary

Functions

Classify an error returned by the Shopify refresh request.

Return a compact, token-free label for operational refresh-error metadata.

Whether an exception represents a PostgreSQL row-lock timeout.

Functions

classify_error(env)

Classify an error returned by the Shopify refresh request.

error_label(arg)

Return a compact, token-free label for operational refresh-error metadata.

lock_timeout?(arg1)

Whether an exception represents a PostgreSQL row-lock timeout.