# axy\errors

Helper for define exception classes (PHP).

[![Latest Stable Version](https://img.shields.io/packagist/v/axy/errors.svg?style=flat-square)](https://packagist.org/packages/axy/errors)
[![Minimum PHP Version](https://img.shields.io/badge/php-%3E%3D%207.1-8892BF.svg?style=flat-square)](https://php.net/)
[![Build Status](https://img.shields.io/travis/axypro/errors/master.svg?style=flat-square)](https://travis-ci.org/axypro/errors)
[![Coverage Status](https://coveralls.io/repos/axypro/errors/badge.svg?branch=master&service=github)](https://coveralls.io/github/axypro/errors?branch=master)
[![License](https://poser.pugx.org/axy/errors/license)](LICENSE)

* The library does not require any dependencies (except composer packages).
* Tested on PHP 5.4+, PHP 7, HHVM (on Linux), PHP 5.5 (on Windows).
* Install: `composer require axy/errors`.
* License: [MIT](LICENSE).

### Legacy (PHP5.4+, branch php5)

[![Latest Stable Version](https://img.shields.io/packagist/v/axy/errors.svg?style=flat-square)](https://packagist.org/packages/axy/errors)
[![Minimum PHP Version](https://img.shields.io/badge/php-%3E%3D%205.4-8892BF.svg?style=flat-square)](https://php.net/)
[![Build Status](https://img.shields.io/travis/axypro/errors/php5.svg?style=flat-square)](https://travis-ci.org/axypro/errors)

* Install: `composer require axy/errors=^1.
* Tested on PHP 5.4+, PHP 7, HHVM (on Linux), PHP 5.5 (on Windows).

### Documentation

* [Common organization of exceptions](doc/org.md)
* [Some number of basic classes](doc/errors.md)
* [Default message](doc/message.md)
* [Truncate backtrace](doc/backtrace.md)
* [Global options](doc/Opts.md)
