php-internal-docs 8.4.8
Unofficial docs for php/php-src
Loading...
Searching...
No Matches
domexception.h File Reference

Go to the source code of this file.

Enumerations

enum  dom_exception_code {
  PHP_ERR = 0 , INDEX_SIZE_ERR = 1 , DOMSTRING_SIZE_ERR = 2 , HIERARCHY_REQUEST_ERR = 3 ,
  WRONG_DOCUMENT_ERR = 4 , INVALID_CHARACTER_ERR = 5 , NO_DATA_ALLOWED_ERR = 6 , NO_MODIFICATION_ALLOWED_ERR = 7 ,
  NOT_FOUND_ERR = 8 , NOT_SUPPORTED_ERR = 9 , INUSE_ATTRIBUTE_ERR = 10 , INVALID_STATE_ERR = 11 ,
  SYNTAX_ERR = 12 , INVALID_MODIFICATION_ERR = 13 , NAMESPACE_ERR = 14 , INVALID_ACCESS_ERR = 15 ,
  VALIDATION_ERR = 16
}
 

Functions

void php_dom_throw_error (dom_exception_code error_code, bool strict_error)
 
void php_dom_throw_error_with_message (dom_exception_code error_code, const char *error_message, bool strict_error)
 

Enumeration Type Documentation

◆ dom_exception_code

Enumerator
PHP_ERR 
INDEX_SIZE_ERR 
DOMSTRING_SIZE_ERR 
HIERARCHY_REQUEST_ERR 
WRONG_DOCUMENT_ERR 
INVALID_CHARACTER_ERR 
NO_DATA_ALLOWED_ERR 
NO_MODIFICATION_ALLOWED_ERR 
NOT_FOUND_ERR 
NOT_SUPPORTED_ERR 
INUSE_ATTRIBUTE_ERR 
INVALID_STATE_ERR 
SYNTAX_ERR 
INVALID_MODIFICATION_ERR 
NAMESPACE_ERR 
INVALID_ACCESS_ERR 
VALIDATION_ERR 

Definition at line 22 of file domexception.h.

Function Documentation

◆ php_dom_throw_error()

void php_dom_throw_error ( dom_exception_code error_code,
bool strict_error )

◆ php_dom_throw_error_with_message()

void php_dom_throw_error_with_message ( dom_exception_code error_code,
const char * error_message,
bool strict_error )