php-internal-docs 8.4.8
Unofficial docs for php/php-src
Loading...
Searching...
No Matches
domexception.h
Go to the documentation of this file.
1/*
2 +----------------------------------------------------------------------+
3 | Copyright (c) The PHP Group |
4 +----------------------------------------------------------------------+
5 | This source file is subject to version 3.01 of the PHP license, |
6 | that is bundled with this package in the file LICENSE, and is |
7 | available through the world-wide-web at the following url: |
8 | https://www.php.net/license/3_01.txt |
9 | If you did not receive a copy of the PHP license and are unable to |
10 | obtain it through the world-wide-web, please send a note to |
11 | license@php.net so we can mail you a copy immediately. |
12 +----------------------------------------------------------------------+
13 | Authors: Christian Stocker <chregu@php.net> |
14 | Rob Richards <rrichards@php.net> |
15 +----------------------------------------------------------------------+
16*/
17
18#ifndef DOM_EXCEPTION_H
19#define DOM_EXCEPTION_H
20
21/* domexception errors */
22typedef enum {
23/* PHP_ERR is non-spec code for PHP errors: */
35/* Introduced in DOM Level 2: */
37/* Introduced in DOM Level 2: */
39/* Introduced in DOM Level 2: */
41/* Introduced in DOM Level 2: */
43/* Introduced in DOM Level 2: */
45/* Introduced in DOM Level 3: */
48
50void php_dom_throw_error_with_message(dom_exception_code error_code, const char *error_message, bool strict_error);
51
52#endif /* DOM_EXCEPTION_H */
void php_dom_throw_error_with_message(dom_exception_code error_code, const char *error_message, bool strict_error)
void php_dom_throw_error(dom_exception_code error_code, bool strict_error)
dom_exception_code
@ NO_MODIFICATION_ALLOWED_ERR
@ INVALID_STATE_ERR
@ NOT_FOUND_ERR
@ HIERARCHY_REQUEST_ERR
@ INVALID_ACCESS_ERR
@ INVALID_MODIFICATION_ERR
@ INUSE_ATTRIBUTE_ERR
@ NAMESPACE_ERR
@ NOT_SUPPORTED_ERR
@ NO_DATA_ALLOWED_ERR
@ INDEX_SIZE_ERR
@ INVALID_CHARACTER_ERR
@ SYNTAX_ERR
@ WRONG_DOCUMENT_ERR
@ DOMSTRING_SIZE_ERR
@ VALIDATION_ERR
@ PHP_ERR
php_json_error_code error_code
Definition php_json.h:92