Introduce error object that follows the JSON spec
Closed this issue · 1 comments
MaazAli commented
Currently errors aren't being handled very elegantly. Introduce a error object struct that wraps a normal golang error. Try to incorporate it into gin's error handling functionality.
JSON API Error spec: http://jsonapi.org/format/#errors