Freelance PHP programmer India | Freelance web developer india | Web development India | web developer CV india | Compiling PHP and Apache 2 from source on Linux
DOM
PHP Manual

The DOMException class

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

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

Properties

code

An integer indicating the type of error generated


DOM
PHP Manual