Throwable
Throwable is the base interface for any object that can be thrown via a Throw statement, including Error and Exception.
Intro
Throwable is the base interface for any object that can be thrown via a Throw statement, including Error and Exception.
PHP classes cannot implement the Throwable interface directly, and must instead extend Exception.
Interfacesynopsis
Changelog
| Version | Description |
|---|---|
| 8.0.0 | Throwable implements Stringable now. |
Getmessage Getcode Getfile Getline Gettrace Gettraceasstring Getprevious Tostring