500.pug 141 bytes
extends error
block content
  h1 Error: #{error.message}
  if settings['verbose errors']
    pre= error.stack
  else
    p An error ocurred!