jaeger-app/errors

This package is not installable via Composer 1.x, please make sure you upgrade to Composer 2+. Read more about our Composer 1.x deprecation policy.

A simple error collection wrapper.

0.1.1 2016-07-04 23:00 UTC

This package is not auto-updated.

Last update: 2021-06-12 00:55:53 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();