Skip to content

Latest commit

 

History

History

error-pages

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

error-pages

Example of how to use Opine's template engine and rendering capabilities for custom error pages.

How to run this example

Run this example using:

deno run --allow-net --allow-read --allow-env ./examples/error-pages/index.ts

after cloning the repo locally.

To turn off verbose errors, set DENO_ENV=production. For example:

DENO_ENV=production deno run --allow-net --allow-read --allow-env ./examples/error-pages/index.ts