jaeger-app/errors

A simple error collection wrapper.

0.1.1 2016-07-04 23:00 UTC

This package is not auto-updated.

Last update: 2020-07-10 19:30:57 UTC


README

Build Status Scrutinizer Code Quality Author GitHub license

A base error collection to allow for individual inspections and system validations.

Installation

Add jaeger-app/errors as a requirement to your composer.json:

$ composer require jaeger-app/errors

Simple Example

use JaegerApp\Errors

$errors = new Errors;
$errors->setError('error_key_1', 'error_lang_key');
$errors->setError('error_key_2', 'another_error_lang_key');

$system_errors = $errors->getErrors();