Creates a new panic error.
Type | Parameter | Description | Default Value |
---|---|---|---|
string | $name | The uncaught exception class. | none |
string | $message | The panic message. | '' |
string | $trace | The panic stack trace. | '' |
Returns the class name of the uncaught exception.
Gets the stack trace at the point the panic occurred.