Skip to content

weew/app-error-handler-black-hole

Repository files navigation

BlackHole error handler

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

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages