PHPackages                             rumd3x/php-go-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. [Utility &amp; Helpers](/categories/utility)
4. /
5. rumd3x/php-go-errors

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

rumd3x/php-go-errors
====================

PHP implementation of golang errors package.

1.0.0(6y ago)02MITPHPPHP &gt;=7.1

Since Jul 11Pushed 6y agoCompare

[ Source](https://github.com/rumd3x/php-go-errors)[ Packagist](https://packagist.org/packages/rumd3x/php-go-errors)[ RSS](/packages/rumd3x-php-go-errors/feed)WikiDiscussions master Synced 4d ago

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

php-go-errors
=============

[](#php-go-errors)

PHP implementation of golang errors package.

[![Build Status](https://camo.githubusercontent.com/6651e2e7d5eea7e11ae27110a68577e0ca364fd6e28e96c07aff09ab2afc769d/68747470733a2f2f7472617669732d63692e6f72672f72756d6433782f7068702d676f2d6572726f72732e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/rumd3x/php-go-errors)[![Codecov](https://camo.githubusercontent.com/a54989e83b7524d5d88849361242cccf0245c503e648d8e139d1b2b65548ac27/68747470733a2f2f696d672e736869656c64732e696f2f636f6465636f762f632f6769746875622f72756d6433782f7068702d676f2d6572726f72732e737667)](https://camo.githubusercontent.com/a54989e83b7524d5d88849361242cccf0245c503e648d8e139d1b2b65548ac27/68747470733a2f2f696d672e736869656c64732e696f2f636f6465636f762f632f6769746875622f72756d6433782f7068702d676f2d6572726f72732e737667)[![PHP Version](https://camo.githubusercontent.com/4d7cd17a5ebb1dce63ce18b2feeb01f3102c9d4ce1d42ebc99a928f1f9547b44/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f72756d6433782f7068702d676f2d6572726f72732e737667)](https://camo.githubusercontent.com/4d7cd17a5ebb1dce63ce18b2feeb01f3102c9d4ce1d42ebc99a928f1f9547b44/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f72756d6433782f7068702d676f2d6572726f72732e737667)

Install
-------

[](#install)

```
composer require rumd3x/php-go-errors
```

Example
-------

[](#example)

Here's an example of usage of the standard `Error` implementation.

For more information consult the API documentation on the section below.

```
