🔀 Merge tag 'v0.2.0' into develop

🔖 Add json.Marshaler support
This commit is contained in:
Dan Jones 2024-01-21 13:59:53 -06:00
commit bf9a0a1bfd
2 changed files with 9 additions and 1 deletions

View file

@ -1,5 +1,13 @@
# Changelog
## [0.2.0] - 2024-01-21
### Added
- ResponsableError.JSON
- ResponsableError extends json.Marshaler
- SettableError.SetField
## [0.1.1] - 2024-01-17
### Changed

View file

@ -40,4 +40,4 @@ In the second example, `err.GetStatus()` returns 404, `err.GetMsg()` returns "Us
## Future plans
I'm thinking about making the errors able to return a default body from `json.Marshal`, possibly with an optional override.`
Any suggestions/requests?