The DOMException 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.
See also Exceptions.
Class synopsis
Properties
- code
-
An integer indicating the type of error generated