Skip to content
This repository has been archived by the owner on Aug 31, 2024. It is now read-only.

Latest commit

 

History

History
18 lines (12 loc) · 343 Bytes

error-page.md

File metadata and controls

18 lines (12 loc) · 343 Bytes

Error Page

Koa doesn't have an error page by default. Koala uses koa-error by default. If you'd like to change the error handler, set it on your app:

app.errorHandler = someErrorHandler;

404 Page

You can also add a custom 404 handler.

app.pageNotFoundHandler = some404Handler;