Less than 1 minute
dieDieDie
Terminates the script execution and displays an error message.
public dieDieDie({Array})
This function is used to handle errors and terminate the script execution. It clears the output buffer, sets the HTTP response code to 500, and displays an error message with the provided error information.
Parameters
Parameter | Type | Description |
---|---|---|
$err | Throwable | the error message or Throwable object |
Generated by Hazaar API Doc Generator