2017 © Pedro Peláez
 

library error-handling

The NiletPHP error handling component.

image

niletphp/error-handling

The NiletPHP error handling component.

  • Friday, May 12, 2017
  • by tsvetelin
  • Repository
  • 1 Watchers
  • 0 Stars
  • 38 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

Custom error handling

Registers custom error handler, which throws \Error when PHP emits E_WARNING or E_ERROR., (*1)

Requirements

PHP >= 7.0, (*2)

Install

Composer, (*3)

{
    "require": {
        "niletphp/error-handling": ">=v1.0"
    }
}

Examples

use Nilet\Components\ErrorHandling\ErrorHandler;

$eh = new ErrorHandler();

// Registering the custom error handler
$eh->handleErrors();

// Restore the previous event handler
$eh->restoreErrorHandler();

The Versions

12/05 2017

dev-master

9999999-dev

The NiletPHP error handling component.

  Sources   Download

MIT

The Requires

  • php >=7.0

 

by Tsvetelin Tsonev

02/03 2017

v1.0.0

1.0.0.0

The NiletPHP error handling component.

  Sources   Download

MIT

The Requires

  • php >=7.0

 

by Tsvetelin Tsonev