or-event">
<p>If the <code>articles.overview</code> route's <code>model</code> hook returns a promise that rejects
(for instance the server returned an error, the user isn't logged in,
etc.), an <code>error</code> event will fire from that route and bubble upward.
This <code>error</code> event can be handled and used to display an error message,
redirect to a login page, etc.</p>
<div class="filename javascript"><div class="ribbon"></div><span>app/routes/articles-overview.js</span><pre class="language-javas