Improved error handling #8

Merged
jsheunis merged 2 commits from error-handling into main 2025-04-29 16:20:14 +00:00

2 commits

Author SHA1 Message Date
636cd35079 Merge branch 'main' into error-handling 2025-04-29 16:55:36 +02:00
52237bc8a8 Updates error handling and request responses
This changes the adhoc way in which request responses were handled
into a structured handling approach, where errors are thrown and
caught and returned as an object with standard properties, such as
'success', 'message', 'error', 'skipped', 'url'. This holds for
successful requests as well. This allows all errors to be bubbled
upwards in a structured and consistent way, so that frontend apps
that use this library can react to request responses in a systematic
way.
2025-04-29 16:53:38 +02:00