title: Attach an error message to a protractor click?
body: <p>Is there a way to attach an error message to a protractor click? Something like the line below is what I expect:</p>
  
  <pre><code>button.click('Button not clickable');
  </code></pre>
  
  <p>Currently, if an element is not found, I get the vague error 'Failed: Cannot call method click of undefined'. No line number, no file the error is in, just a generic error and a link to the error occurring in the promise files. It makes it very hard to hunt down where the error is actually occurring</p>
  
  <p>I'd expect it to do something similar to the line below, where I can attach an error message to the toBeTruthy section:</p>
  
  <pre><code>expect(button.isDisplayed()).toBeTruthy('Button not displayed');
  </code></pre>
  
  <p>If this line fails, I would get an error similar to 'Element not found, Button not displayed'. Much clearer as to what is going on.</p>
  
  <p>Is there a way to attach an error message to a click?</p>