PHPackages                             goma/goma-error-handling - 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. goma/goma-error-handling

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

goma/goma-error-handling
========================

GomaErrorHandling provides error-handling methods as well as Exception-Types and codes.

01.8kPHP

Since Aug 31Pushed 8y ago1 watchersCompare

[ Source](https://github.com/gomaframework/Goma-ErrorHandling)[ Packagist](https://packagist.org/packages/goma/goma-error-handling)[ RSS](/packages/goma-goma-error-handling/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependenciesVersions (1)Used By (0)

Goma Error Handling
===================

[](#goma-error-handling)

GomaErrorHandler adds a basic Erorr+Exception-Handler for Goma Installations. In addition it provides the GomaException base-class.

Ignorable and developer-presentable exceptions
----------------------------------------------

[](#ignorable-and-developer-presentable-exceptions)

- Ignorable exceptions are exceptions, which are not leading to a crash of the system, default: false
- Developer-presentable exceptions are exceptions which are printed while in Dev-Mode even if they are ignorable.

Customisation
-------------

[](#customisation)

To customise exception-handling there are two ways:

- Change the template for errors by adding a file /templates/phperror.html
- Add custom exception-handler by adding a class implementing `ExceptionHandler` and register it via `ExceptionManager::registerExceptionHandler($className, $prepend = false)`
    - handleException:true|null Used to custom exception handling. return true if other error-handling should be stopped
    - isIgnorableException: boolean|null
    - isDeveloperPresentableException: boolean|null

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/3f770f7ce9e7cb8a9261d408a6d70eaa86e96eab3419e7b49cce95bb7f2e556f?d=identicon)[daniel.gruber](/maintainers/daniel.gruber)

### Embed Badge

![Health badge](/badges/goma-goma-error-handling/health.svg)

```
[![Health](https://phpackages.com/badges/goma-goma-error-handling/health.svg)](https://phpackages.com/packages/goma-goma-error-handling)
```

###  Alternatives

[randsonjs/inflect

A PHP class to handle words in Portuguese

1710.7k](/packages/randsonjs-inflect)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
