Commit Graph

5 Commits

Author SHA1 Message Date
pancho horrillo 0d66fe9963 Rename WriteErrorResponse() to simply ErrorJSON() and reorder arguments
This way we better mimic net/http.Error()

https://pkg.go.dev/net/http?tab=doc#Error
2019-11-20 07:37:35 +01:00
pancho horrillo 7ea43048bc Add missing comments 2019-11-20 07:14:00 +01:00
pancho horrillo 1249b23458 Fix case mismatch in error JSON (adding tag) 2019-11-18 17:44:39 +01:00
Héctor Hurtado 4c7eae8ebb New error handling added to getRequestBody function in data package 2019-11-18 15:01:02 +01:00
Héctor Hurtado edff842c3b New srverrors package added. New error handling added to control package 2019-11-18 14:32:54 +01:00