Trying to throw this error will fail in older browsers because of `JSON.stringify()`.