/errors-helper

Class to handle php errors

Primary LanguagePHP

Errors Helper

Class to handle php errors

Features

  • Show stylized errors

Usage

Include the Error class into your project using require_once() PHP function or something like that. make an instance of Error and it will display all errors.

require_once 'vendor/error.php';

$error = new Vbt\Error;

You can add user errors by using the trigger_error(); PHP function and it will display it to.

triger_error('My error', E_USER_ERROR);