<html xmlns:tal="http://xml.zope.org/namespaces/tal"
      xmlns:metal="http://xml.zope.org/namespaces/metal"
      metal:use-macro="here/main_template/macros/master">
<body>
<div metal:fill-slot="main">
<div class="Desktop">
 

<div tal:condition="options/error_message"
     tal:content="structure options/error_message" />

<div tal:condition="not: options/error_message">
  <h2>Site Error</h2>

  <p>An error was encountered while publishing this resource.</p>
  
  <p> <strong>Error Type:
        <span tal:replace="options/error_type" />
      </strong>
  <br><strong>Error Value:
      <span tal:replace="options/error_value" /></strong>
  <br> 
  </p>
 
  <hr noshade />
 
  <p>Troubleshooting Suggestions</p>

  <ul>
  <div tal:condition="python: options['error_type'] in ('KeyError'
                                                       ,'NameError')">
  <li>This resource may be trying to reference a
      nonexistent object or variable
      <strong><span tal:replace="options/error_value" /></strong>.</li>
  </div>
  <li>The URL may be incorrect.</li>
  <li>The parameters passed to this resource may be incorrect.</li>
  <li>A resource that this resource relies on may be encountering
      an error.</li>
  </ul>

  <p>For more detailed information about the error, please
  refer to the HTML source for this page.
  </p>

  <p>If the error persists please contact the site maintainer.
  Thank you for your patience.
  </p>

</div>

<div tal:condition="options/error_log_url | nothing">
  <hr noshade />
  <a href="error_log_url" tal:attributes="href options/error_log_url">
    Show Error Log Entry
  </a>
</div>
</div>
</div>
</body>
</html>