handle-error-codes #105

Merged
Alfred-mk merged 7 commits from handle-error-codes into master 2025-10-22 13:35:13 +02:00

7 Commits

Author SHA1 Message Date
Alfred Kamanda
1ba5424e0b cleaned up the code and removed the debug statement 2025-10-22 12:20:41 +03:00
Alfred Kamanda
5b4446c04a use the upstream APIError 2025-10-22 12:10:19 +03:00
Alfred Kamanda
bd98034a9b added debug line 2025-10-21 16:05:00 +03:00
Alfred Kamanda
d5c2dc0ee0 added the translation of the API error 2025-10-21 15:49:38 +03:00
Alfred Kamanda
95bc5ec6af set a different response content based on the API error code 2025-10-21 15:49:02 +03:00
Alfred Kamanda
20b4269358 add a custom error struct that carries both fields from the API error 2025-10-21 15:47:39 +03:00
Alfred Kamanda
8ee1b449f9 use the updated sarafu-api package with error codes 2025-10-21 15:47:16 +03:00