The DOMException / Dom\Exception class
(PHP 5, PHP 7, PHP 8)
Introduction
DOM operations raise exceptions under particular circumstances, i.e., when an operation is impossible to perform for logical reasons.
This class is aliased as Dom\Exception in the Dom namespace.
See also Throwable errors.
Class synopsis
Properties
codeAn integer indicating the type of error generated
来源:PHP Documentation Group · 作者与贡献记录 · CC BY 3.0。离线整理了版式、链接和媒体显示。
