ZCML File
configure.zcml

<zope:configure
    xmlns="http://namespaces.zope.org/browser"
    xmlns:zope="http://namespaces.zope.org/zope"
    >
<page
    class="..systemerror.SystemErrorView"
    for="zope.interface.common.interfaces.IException"
    permission="zope.Public"
    name="index.html"
    template="systemerror.pt"
    />
<page
    class=".unauthorized.Unauthorized"
    for="zope.security.interfaces.IUnauthorized"
    permission="zope.Public"
    name="index.html"
    />
<zope:adapter
    factory=".unauthorized.default_template"
    name="default"
    />
<page
    class=".user.UserErrorView"
    for="zope.exceptions.interfaces.IUserError"
    permission="zope.Public"
    name="index.html"
    template="user.pt"
    />
<page
    class=".notfound.NotFound"
    for="zope.publisher.interfaces.INotFound"
    permission="zope.Public"
    name="index.html"
    template="notfound.pt"
    />
</zope:configure>