extends error

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