hugapi / hug

Embrace the APIs of the future. Hug aims to make developing APIs as simple as possible, but no simpler.
MIT License
6.86k stars 388 forks source link

@hug.exception() is only supported by HTTP API #877

Open pavel-kolesnikov opened 3 years ago

pavel-kolesnikov commented 3 years ago

@hug.exception() is ExceptionRouter(HTTPRouter) so only supports web part of hug. It would be great, if @hug.exception() support at least CLI API.