weew/app-error-handler-black-hole

Error handler that suppresses all error messages for the weew/app-error-handler package.

v1.3.1 2016-07-21 11:17 UTC

This package is not auto-updated.

Last update: 2024-11-05 21:45:46 UTC


README

Build Status Code Quality Test Coverage Version Licence

Table of contents

Installation

composer require weew/app-error-handler-black-hole

Introduction

This error handler suppresses all occurring errors makes use of the weew/app-error-handler.

Usage

To enable this provider simply register it on the kernel.

$app->getKernel()->addProviders([
    ErrorHandlingProvider::class,
    BlackHoleErrorHandlerProvider::class,
]);

Example config

This is how the config might look like in yaml:

black_hole_error_handler:
  enabled: true
  # or
  disabled: false