jpuck/error-exception-handler

Convert errors to exceptions and handle them.

Maintainers

Package info

github.com/jpuck/error-exception-handler

pkg:composer/jpuck/error-exception-handler

Statistics

Installs: 179

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 1

0.1.5 2018-01-18 15:48 UTC

This package is not auto-updated.

Last update: 2026-03-01 09:50:22 UTC


README

Converts errors to exceptions, emails everything, then re-throws exception.

Installation

Use composer.

composer require jpuck/error-exception-handler

This package targets legacy systems running php 5.3.3 so newer systems may conflict with requiring swift 5.

Environment Variables

Set your environment variables, or configure them in an .env file.

Usage

use jpuck\Error\Handler;

Handler::convertErrorsToExceptions();
Handler::swift();