title: Can you fail a Javascript Promise from its success handler?
body: <p>I doubt this is a feature of JS Promises, but I have a Promise that can resolve nicely, but still contain erroneous data (ie, a null value in an unfortunate spot). I want the erroneous data to be passed through the same Promises fail function instead, if that null value is there.</p>
  
  <p>I'm wondering if there is a way to fail a promise from its own success handler?</p>