Files
id/src/Id
Maurice PreußandClaude Opus 5.5 57ce0b4a79 Throw ApiException for requests with the user's token too
Requests with the user's token threw a bare ResourceException with a
message like "… for resource [Anikeen\Id\Resources\Order]" and no
error code, while app requests threw ApiException. Both throw
ApiException now: status (also getCode()), Anikeen ID's error code and
message, isNotFound(), isConflict(), isTemporary(). Failed lists throw
CollectionException, now a subclass of ApiException. A request without
a response (connection refused, timeout) throws ApiException with
status 0 instead of a Guzzle exception.

ApiException extends ResourceException, so existing catch blocks keep
working.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-04 18:28:50 +01:00
..
2025-04-30 03:45:10 +02:00
2026-11-04 16:15:48 +01:00
2025-09-21 17:12:19 +00:00
2026-11-04 16:15:48 +01:00
2025-04-27 04:02:46 +02:00
2025-09-19 16:37:22 +00:00
2025-04-28 04:47:50 +02:00
2025-09-21 17:12:19 +00:00
2025-04-30 03:45:10 +02:00