BREAKING CHANGES!!
app.notFound
and app.onError
are changed:
// Custom Not Found Response
app.notFound((c) => c.text('404', 404))
// Handle Error and return custom Error Response
app.onError((err, c) => {
console.error(`${err}`)
return c.text('500', 500)
})
What's Changed
Full Changelog: v0.4.2...v0.5.0