Commit Graph

17 Commits

Author SHA1 Message Date
51517fdfa8 refactor(smalltrip,exceptions): use std log levels as Severity Levels 2025-02-26 18:12:22 -03:00
6a07ce9470 feat(smalltrip,exceptions): make panic errors be of severity FATAL 2025-02-26 17:51:21 -03:00
ba74401be8 feat(smalltrip,exceptions): PanicMiddleware to recover from unexcepted panics 2025-02-26 17:48:44 -03:00
2dfa195cee docs(smalltrip,exceptions): add MDN documentation for each status code on 500s contructors 2025-02-26 16:47:03 -03:00
201f274f01 feat(smalltrip,exceptions): retryAfter in 503 Service Unavailable exceptionn 2025-02-26 16:39:35 -03:00
21dbf4f772 docs(smalltrip,exceptions): document all 500s status code constructors 2025-02-26 16:03:15 -03:00
f165e22900 feat(smalltrip,exceptions): 500 exceptions constructors 2025-02-26 15:58:23 -03:00
4e24437a96 docs(smalltrip,exceptions): add MDN documentation for each status code on 400s contructors 2025-02-26 10:54:38 -03:00
466406d7ef docs(smalltrip,exceptions): document all 400s status code constructors 2025-02-26 10:54:18 -03:00
fb976f6e0d feat(smalltrip,exceptions): constructor for all 400 status codes 2025-02-26 10:51:10 -03:00
6019cdeb0e feat(smalltrip,exceptions): exception constructor 2025-02-26 10:47:19 -03:00
6c4b90fe44 feat(smalltrip,exceptions): headers field for additional headers to be sent with exception 2025-02-25 16:00:21 -03:00
4741cf988a feat(smalltrip,exceptions): Data field for additional contextual data 2025-02-25 15:59:48 -03:00
2d81fffdba feat(smalltrip,exceptions): Severity type implementation 2025-02-25 14:31:23 -03:00
852afa65de feat(smalltrip,exceptions): exception middleware to provide handlers depending of Accept header 2025-02-25 14:31:02 -03:00
6bcd0e214a feat(smalltrip,exceptions): use a JSON handler if none is provided via the context 2025-02-25 14:30:14 -03:00
ad1769e044 feat(smalltrip): new exceptions package for structurerd error codes 2025-02-25 14:28:07 -03:00