PHPackages                             arabcoders/errors - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Logging &amp; Monitoring](/categories/logging)
4. /
5. arabcoders/errors

AbandonedArchivedLibrary[Logging &amp; Monitoring](/categories/logging)

arabcoders/errors
=================

Error Handling Library

v1.7.2(6y ago)0168MITPHPPHP &gt;=7.2

Since Jan 29Pushed 6y ago1 watchersCompare

[ Source](https://github.com/ArabCoders/errors)[ Packagist](https://packagist.org/packages/arabcoders/errors)[ Docs](https://www.abdulmohsen.me)[ RSS](/packages/arabcoders-errors/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (10)Dependencies (4)Versions (14)Used By (0)

Error Handling Library.
=======================

[](#error-handling-library)

[![Build Status](https://camo.githubusercontent.com/b72e0db0fc5ab8ce0f08b63d4fbfa343f4eb40aee22deae0761a731bea7d97c2/68747470733a2f2f7472617669732d63692e6f72672f41726162436f646572732f6572726f72732e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/ArabCoders/errors)

Error Handling Library, This library can handle logging and displaying of the errors, you can also register listener for special error cases such as if you want to handle specific error/exception in different way, or want to extend/replace the Structured data, It can log to multiple services defined by the user, it can also handle different output streams, there is also Policy class to handle Different requirement of logging/displaying/exiting of the application.

Im working to support Psr3 there is minimal support right now with Logger Class and PSR3 abstract class, we may have to refactor major parts to be compatiable with it.

Install
-------

[](#install)

Via Composer

```
$ composer require arabcoders/errors
```

Usage Example.
--------------

[](#usage-example)

```
