DOM
PHP 手册

The DOMException class

简介

DOM operations raise exceptions under particular circumstances, i.e., when an operation is impossible to perform for logical reasons.

See also 异常处理.

Class synopsis

DOMException
DOMException extends Exception {
/* Properties */
readonly public int $code ;
}

属性

code

An integer indicating the type of error generated


DOM
PHP 手册