title: Silverstripe 3: Can I set a custom error page in silverstripe for certain page types?
body: <p>I'm wondering if it is possible to set a custom 404 page on silverstripe specific to a certain page type, while all other 404 errors use the default one.</p>
  
  <p>I have a particular page type "Events" which has event pages unpublished after their specific date. </p>
  
  <p>I also have a static page with links to some of the events. This page url is sent to members so they will still have access to the page even after some of the events may have passed. </p>
  
  <p>Once an event has passed, it is unpublished and therefore following the link will lead to a 404 error page. The link will still be available on the static page.</p>
  
  <p>I am wanting to set a specific error page for the Event page type so that when someone follows the link to a past event they will get error page A. "this event has passed, go to our events page"</p>
  
  <p>I then want a regular error page B "page not found, go to our home page" that will be the error page for any other incorrect links on the site. </p>
  
  <p>Is there any way I can do this?? I am using silverstripe 3</p>