Structured view over the Admin API client's stringly errors.
request<T> throws Error("<status>: <body>"); this parses that shape so
panels can special-case 409 in_use (referrer lists), 501 (headless build),
and 502 (store outage) instead of dumping raw JSON into a toast.
Structured view over the Admin API client's stringly errors.
request<T>throwsError("<status>: <body>"); this parses that shape so panels can special-case 409 in_use (referrer lists), 501 (headless build), and 502 (store outage) instead of dumping raw JSON into a toast.