PHP: The Difference between \Throwable, \Error and \Exception


It is the exception class that begins to appear in php7.0, and it is the parent class of \error \exception


Inherited \throwable to handle some internal errors of the system, such as memory overflow


Inherited \throwable to handle error reports during program execution, or actively throw exceptions (\error can also throw exceptions)

Read More: