TogetherOS / cicada

🚀 Fast lightweight HTTP service framework.
https://crossoverjie.top/categories/cicada/
Apache License 2.0
953 stars 212 forks source link

config different exception handle processing for different controllers #47

Open TrimGHU opened 4 years ago

TrimGHU commented 4 years ago

Handle Process

  1. add customize exception handle annotation
  2. chooses whether to configure it on your controller
  3. find the special exception handle annotation when catch exception,if exists handle by it ,if not handle by default .