Use built-in RangeError for bug-exceptions
Use built-in RangeError for bug-exceptions

It seems that stack traces are always getting screwed up when using
user-defined error types.

ProseMirror/prosemirror-markdown