nuts-foundation / nuts-node

The reference implementation of the Nuts specification. A decentralized identity network based on the w3c ssi concepts with practical functionality for the healthcare domain.
https://nuts-foundation.gitbook.io
GNU General Public License v3.0
25 stars 16 forks source link

Add error handling middleware to echo server #3

Closed woutslakhorst closed 3 years ago

woutslakhorst commented 3 years ago

Which can handle error message format and logging.

See https://echo.labstack.com/guide/error-handling

reinkrul commented 3 years ago

Maybe use https://github.com/mschneider82/problem (implementation for Echo of https://tools.ietf.org/html/rfc7807)