ErrorHandler
in package
Error handling utilities.
Provides methods for displaying errors and handling fatal conditions.
Tags
Table of Contents
Methods
- die() : never
- Make the script crash and prints an error message
Methods
die()
Make the script crash and prints an error message
public
static die(string $text) : never
Parameters
- $text : string
-
Error text to output