title: try catch error in javascript - get more error details
body: <p>How can I get more error details from a javascript catch?</p>
  
  <p>Are there more parameters to get more details from the caught error.</p>
  
  <pre><code>try { 
      var s = null;
      var t = s.toString();
    } catch(err) {
      alert(err);
    }
  </code></pre>