Commit Graph

11 Commits

Author SHA1 Message Date
bbebb0d140 refactor(smalltrip,problems): remove fallbacks from handlers 2025-07-30 19:14:42 -03:00
da132231f7 refactor(smalltrip,problems): rename http.go to handlers.go 2025-07-29 19:18:28 -03:00
e7268c9fa0 feat(smalltrip,problems): use Problem interface on handlers 2025-07-29 19:18:28 -03:00
8c51880748 feat(smalltrip,problems): Problem interface 2025-07-29 19:18:27 -03:00
d4836e877a fix(smalltrip,problems): make problems be structs with Problem embedded 2025-07-29 19:15:10 -03:00
830bafcbbe refactor(smalltrip,problems): define RetryAfter header parsing into separated type 2025-07-29 19:15:10 -03:00
b4a9c349bb feat(smallstrip,problems): 400s codes constructors and problems 2025-07-29 19:14:36 -03:00
d9c1bf0df5 refactor(smallstrip,problems): make 500 error types distinct and not aliases 2025-07-29 19:14:36 -03:00
c847f2b421 feat(smalltrip,problems): 500s code constructors and problems 2025-07-04 19:15:27 -03:00
8bab404d03 feat(smalltrip,problems): http handler for problems (wip) 2025-07-04 19:15:26 -03:00
094eab5333 feat(smalltrip,problems): new problem package to handle 400 and 500 error codes
This is planned to replace the exceptions package, having a nicer and
more extendable API, based on the RFC 9457 (HTTP problems)
2025-07-04 19:15:24 -03:00