Default error handling plugin for egg.
egg-onerror is on by default in egg. But you still can configure its properties to fits your scenarios.
errorPageUrl: String or Function- If user request html pages in production environment and unexpected error happened, it will redirect user to
accepts: Function- detect user's request accpet
# Questions & Suggestions
Please open an issue here.