scriptlib-cg/api-design-cookbook — Issue #3: "Don't throw exceptions"
Author: paulirish
Created: 2011-11-22 23:49:36+00:00
State: open

Exceptions are hugely painful for JavaScript developers as we don't expect them by default and a single uncaught exception will halt basically all execution.

iOS just did this for localStorage in private mode which breaks pretty much everyone's code. (We're filing a ticket against them)