title: Showing generic error pages to users in Yii 2
body: <p>I'm using <code>Yii 2</code> and I'm wondering if Yii has anything built in to handle generic error pages to show to users.</p>
  
  <p>Like for example you may want to show them a general error page because their logout failed for some reason or a range of other reasons. Stuff that you don't want to have to create a view for every situation.</p>
  
  <p>Is there something like this available and if so, how do you use it?</p>