title: Trigger Ember Error Substate in Route Action
body: <p>Let's say I have a <code>BananaNewRoute</code> that's responsible for displaying the new <code>Banana</code> form and creating a <code>Banana</code>.</p>
  
  <pre><code>App.BananaNewRoute = Ember.Route.extend
    model: -&gt; @store.createRecord('banana')
  
    actions:    
      create: @currentModel.save().then =&gt; @transitionTo "banana", @currentModel
  </code></pre>
  
  <p>Because the input of my application is tightly controlled, it's safe to assume if the server returns any type of error, then it's an application error and there's nothing the user can do about it. I'd like to handle this by transitioning the user to a separate <code>error</code> template whenever the <code>save</code> action rejects.</p>
  
  <p>I took a look at the <a href="http://emberjs.com/guides/routing/loading-and-error-substates/" rel="nofollow">Loading / Error Substates</a> documentation, but it seems like it only works for the <code>model</code>, <code>beforeModel</code> and <code>afterModel</code> hooks. I couldn't get it to work for my <code>create</code> action. How can accomplish this?</p>