site/views/error.moon

14 lines
262 B
Plaintext
Raw Normal View History

2015-02-01 05:37:51 +00:00
import Widget from require "lapis.html"
class Error extends Widget
content: =>
center ->
h1 "Oops!"
img src: "/static/img/error.png"
2015-02-01 05:50:21 +00:00
if @err
p @err
else
p "If this was a real error there would be debug text here"