Throwable
Throwable
&reftitle.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.
&reftitle.interfacesynopsis;
Throwable
extends
Stringable
&Methods;
&InheritedMethods;
&reftitle.changelog;
&Version;
&Description;
8.0.0
Throwable implements
Stringable now.
&language.predefined.throwable.getmessage;
&language.predefined.throwable.getcode;
&language.predefined.throwable.getfile;
&language.predefined.throwable.getline;
&language.predefined.throwable.gettrace;
&language.predefined.throwable.gettraceasstring;
&language.predefined.throwable.getprevious;
&language.predefined.throwable.tostring;