PHPackages                             k1low/exception - 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. k1low/exception

ActiveCakephp-plugin[Utility &amp; Helpers](/categories/utility)

k1low/exception
===============

Exception plugin for CakePHP

4.0.0(8y ago)510.3k2MITPHPPHP &gt;=5.3.3

Since May 20Pushed 8y ago3 watchersCompare

[ Source](https://github.com/k1LoW/Exception)[ Packagist](https://packagist.org/packages/k1low/exception)[ Docs](https://github.com/k1LoW/Exception)[ RSS](/packages/k1low-exception/feed)WikiDiscussions master Synced 2mo ago

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

Exception plugin for CakePHP
============================

[](#exception-plugin-for-cakephp)

Exception class template.

Install
-------

[](#install)

composer.json:

```
{
    "require": {
        "k1low/exception": "*"
    }
}

```

see:

Usage: Exception class template
-------------------------------

[](#usage-exception-class-template)

Set `CakePlugin::load('Exception', array('bootstrap' => true));`.

Usage: ExceptionNotifier
------------------------

[](#usage-exceptionnotifier)

Set `EmailConfig::error` option in app/Config/email.php.

### ExceptionNotifierErrorHandler

[](#exceptionnotifiererrorhandler)

Set `CakePlugin::load('Exception', array('bootstrap' => 'notifier'));`.

### ExceptionNotifierComponent \[Deprecated\]

[](#exceptionnotifiercomponent-deprecated)

Add the following code in AppController.php

```
