Files
alfresco-ng2-components/lib/core/api
copilot-swe-agent[bot] 3424c53da5 fix(core): provide meaningful error message when API response body is null
When the server returns no response body (e.g., during token expiration,
network interruption, or CORS failures), err.error is null causing
JSON.stringify(null) to produce the unhelpful message "null".

Now we explicitly handle the null case and produce a message like
"401 Unauthorized" instead of "null".
2026-07-03 16:47:38 +00:00
..

@alfresco/adf-core/api

Secondary entry point of @alfresco/adf-core. It can be used by importing from @alfresco/adf-core/api.