Throwing strings instead of Errors
<p>Since we can throw anything with the <code>throw</code> keyword in Javascript, can't we just throw an error message string directly?</p>

<p>Does anyone know any catch in this?</p>

<p>Edit:</p>

<p>Let me add some background to this: Very often, in the Javascript world, people relies on parameter checking as opposed to using the try-catch mechanism, so it makes sense to only throw fatal errors with <code>throw</code>. Still, to be able to catch some system Errors, I have to use a different class for my own errors and instead of creating a subclass of Error, I think I should just use String.</p>
