kogmbh/WebODF — pull request #534 by kossebau (2014-04-10 17:56:20+00:00)
Title: Use Error objects in callback passed to "destroy" methods

The currently plain undefined objects are not useful at all, because the properties are undefined.
Using `Error` (and subclasses) at least gives us `message` and `name` to rely on.