anchor.diff: +mixin print_err_code(code, err)
  +  if locals.settings.env === 'development'
  +    h1= code + ' ' + err
  +  else
  +    h1= err
  +
   extends layout
   
   block title
   
     //- Defined err status code
     if error.status
  -    title= error.status + ' ' + message
  +    title= message
     else
       //- Undefined err status code
  -    title= '500' + ' ' + 'Application Error'
  +    title= 'Application Error'
   
   block head
   
  
positive.code: 
          if locals.settings.remote
            script(src='http://linkhelp.clients.google.com/tbproxy/lh/wm/fixurl.js')
        else
          //- Handle defined err status code with a generic message.
          // TODO: Frown face image?
          p :-(
          p Sorry, but the page has erred on us.
  
      else
        //- Handle *assumed* 500 err status code with err stack trace if we are
        //- in development mode.
        h1= '500' + ' ' + 'Application Error'
  
        // TODO: Frown face image?
        p :-(
        p Sorry, but the page has erred on us.
  
        if locals.settings.env === 'development'
          pre #{error.stack}
  
negative.code: 
    .container
  
      case error.status
  
        when 404
          //- Handle 404 err status code by trying to provide some assistance
  
          +print_err_code(error.status, message)
  
          // TODO: Frown face image?
          p :-(
  