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: 2024-11-10 03:25:53 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();