(PHP 5, PHP 7, PHP 8)
Exception is the base class for all user exceptions.
The exception message
The exception code
The filename where the exception was created
The line where the exception was created
The previously thrown exception
The string representation of the stack trace
The stack trace as an array