Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ilgooz/eres

Simple JSON Error Responses
https://github.com/ilgooz/eres

Last synced: about 1 month ago
JSON representation

Simple JSON Error Responses

Awesome Lists containing this project

README

        

produces errors in following format
```go
// HTTP 400
{
"message": "Invalid Data",
"fields": {
"email": "must be a valid email address",
"password": "must be min 3 chars length"
}
}
```