jpuck/error-exception-handler

Convert errors to exceptions and handle them.

0.1.5 2018-01-18 15:48 UTC

This package is not auto-updated.

Last update: 2020-08-08 05:39:12 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();