HomePhabricator Dev

Bug 1613013 part 2. Change ThrowErrorMessage to be templated on the error…

This commit no longer exists in the repository. It may have been part of a branch which was deleted.

Description

Bug 1613013 part 2. Change ThrowErrorMessage to be templated on the error number. r=peterv

This makes it easier to static_assert correct use. It caught several bugs in
the next patch in this stack.

I had to disambiguate some calls to the templated ThrowDOMException that are
inside the binding_detail namespace, because otherwise they were trying to call
teh non-template function of the same name that's declared in binding_detail.

Differential Revision: https://phabricator.services.mozilla.com/D61522

Details

Provenance
bzbarskyAuthored on

Commit No Longer Exists

This commit no longer exists in the repository.