Make ExceptionCode an enum class and update all the calls to add the full scope. This is necessary so we can move ExceptionCode to use the serializer.
Committed 270534@main (fdcc9a4b872c): <https://commits.webkit.org/270534@main> Reviewed commits have been landed. Closing PR #20237 and removing active labels.
<rdar://problem/118235648>