Skip to content
Myr

example error layout

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by TJ Holowaychuk · committed by TJ Holowaychuk · parent 4fa9a2e · Browse files · 4 files+18 added−3 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

4 files+18 added−3 removed

  • other:+18 added−3 removed

4 files+18 added−3 removed

modified:examples/error-pages/views/404.jade+5 added-1 removed
12extends error34block content1h2 Cannot find #{url}5 h2 Cannot find #{url}
modified:examples/error-pages/views/500.jade+6 added-2 removed
12extends error34block content1h1 Error: #{error.message}2pre= error.stack5 h1 Error: #{error.message}6 pre= error.stack
added:examples/error-pages/views/error.jade+6 added
1html2 head 3 title Error4 body5 h1 An error occurred!6 block content
modified:examples/error-pages/app.js+1 added