Skip to content

Instantly share code, notes, and snippets.

Avatar
🏡
Working from home

Maurits van der Schee mevdschee

🏡
Working from home
View GitHub Profile
@mevdschee
mevdschee / ErrorReporting.php
Last active Aug 5, 2021
PHP error reporting class
View ErrorReporting.php
<?php
class ErrorReporting
{
public static $errorMessage = 'Oops! Something went wrong.';
private static $cwd;
private static $debug;
/**