The WebAbility® Network Developers - Documentation
WebAbility Site
\core\WAThrowable reference

I. Structure:

- namespace:

- It's a Trait:

- Direct known classes using the trait:

II. Description:

The trait \core\WAThrowable is a trait that contains the basic tools of a throwable error or exception in PHP 7 and 5.4+, mainly to print the backtrace of the stack.
For PHP 5.3-, the toString method is implemented directly into the classes.

All the classes that use this trait will gain the following method:

__toString to print the traceback messages.

III. Reference:

3.1. Methods:

public string __toString()
Returns a formated HTML string containing the description and traceback of the error in a table.