Developers - Documentation
WebAbility v6 Modules
WebAbility Version API
DomCore - the PHP Foundation Classes
comes with a set of classes to throw errors with the PHP5
to throw events (throwables).
From that class, 2 others are extended to throw
defines an event that should not be captured by the programmer, the system will manage it because it is a critical error.
In another hand the
are events that should be catch by the programmer and managed them locally.
The \core\WAThrowable becomes a trait in PHP 7+ and is a basic class to extend into PHP 5.3-
Actually, the DomCore throwables event are:
\core\WAThrowable - the throwable trait/class to include in errors and exceptions
\core\WAError - the basic throwable error class to not catch
\throwables\CoreError - Error from the core classes
\throwables\SHMError - Error from the SHM Manager
\throwables\DataSourceError - Error from the Data sources
\throwables\PatternError - Error from the patterns classes
\core\WAException - the basic throwable and catchable exception class
\throwables\FileException - Exception from the Files manager