mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
Implement engine exceptions
RFC: https://wiki.php.net/rfc/engine_exceptions_for_php7 Pending changes regarding naming of BaseException and whether it should be an interface.
This commit is contained in:
parent
2f156c61f1
commit
1c94ff0595
69 changed files with 2953 additions and 2188 deletions
|
@ -38,6 +38,8 @@
|
|||
#define E_DEPRECATED (1<<13L)
|
||||
#define E_USER_DEPRECATED (1<<14L)
|
||||
|
||||
#define E_EXCEPTION (1<<15L)
|
||||
|
||||
#define E_ALL (E_ERROR | E_WARNING | E_PARSE | E_NOTICE | E_CORE_ERROR | E_CORE_WARNING | E_COMPILE_ERROR | E_COMPILE_WARNING | E_USER_ERROR | E_USER_WARNING | E_USER_NOTICE | E_RECOVERABLE_ERROR | E_DEPRECATED | E_USER_DEPRECATED | E_STRICT)
|
||||
#define E_CORE (E_CORE_ERROR | E_CORE_WARNING)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue