function DOMException (message) {
            Object.defineProperty(this, "message", {
                get() {
                    return message;
                },
                enumerable: true,
                configurable: true
            });
        }
`DOMException` is not available in our testing environment. Additionally, we can't
just import the `domexception` module since it doesn't work on Node.js v4, which
we still support. So, here's a fake skeleton implementation which has the relevant
qualities we need to reproduce the bug, most importantly a read-only `message`
property
@param {string} message - Error message
@constructor