PHPackages                             silpo-tech/exception-handler-bundle - 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. silpo-tech/exception-handler-bundle

ActiveSymfony-bundle

silpo-tech/exception-handler-bundle
===================================

Exception handler for Symfony

v2.0.1(7mo ago)02.3k↓10.7%4MITPHPPHP &gt;=8.2CI passing

Since Sep 17Pushed 7mo agoCompare

[ Source](https://github.com/silpo-tech/ExceptionHandlerBundle)[ Packagist](https://packagist.org/packages/silpo-tech/exception-handler-bundle)[ RSS](/packages/silpo-tech-exception-handler-bundle/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (4)Dependencies (10)Versions (5)Used By (4)

[![CI](https://github.com/silpo-tech/ExceptionHandlerBundle/actions/workflows/ci.yml/badge.svg)](https://github.com/silpo-tech/ExceptionHandlerBundle/actions)[![codecov](https://camo.githubusercontent.com/b787fa049a083d9393924cb8e379a9f427a772702f885bc5f6d30af97b2bcf4d/68747470733a2f2f636f6465636f762e696f2f67682f73696c706f2d746563682f457863657074696f6e48616e646c657242756e646c652f67726170682f62616467652e737667)](https://codecov.io/gh/silpo-tech/ExceptionHandlerBundle)[![License: MIT](https://camo.githubusercontent.com/fdf2982b9f5d7489dcf44570e714e3a15fce6253e0cc6b5aa61a075aac2ff71b/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d4d49542d79656c6c6f772e737667)](https://opensource.org/licenses/MIT)

Exception Handler Bundle
========================

[](#exception-handler-bundle)

About
-----

[](#about)

The Exception Handler Bundle helps to catch and process output for different types of exceptions

Installation
------------

[](#installation)

Require the bundle and its dependencies with composer:

```
$ composer require silpo-tech/exception-handler-bundle
```

Register the bundle:

```
// app/AppKernel.php

public function registerBundles()
{
    $bundles = array(
        ...
        new ExceptionHandlerBundle\ExceptionHandlerBundle(),
    );
}
```

How to override standard validation messages?
---------------------------------------------

[](#how-to-override-standard-validation-messages)

Create Messages class:

```
