Closed danieljoppi closed 5 years ago
I like this idea, but I think it should be a separate npm package (e.g. ono-http
) rather than part of the main ono
package.
We just released Ono v5.0, which allows you to define your own custom ono
methods. So it's now super easy to implement HTTP errors like the ones described above. More details here
some like this