Skip to content

alexsc6955/errors-helper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

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);