Lines Matching refs:exception
8 …a href="https://travis-ci.org/hoaproject/exception"><img src="https://img.shields.io/travis/hoapro…
9 …/coveralls.io/github/hoaproject/exception?branch=master"><img src="https://img.shields.io/coverall…
10 …href="https://packagist.org/packages/hoa/exception"><img src="https://img.shields.io/packagist/dt/…
11 …a-project.net/LICENSE"><img src="https://img.shields.io/packagist/l/hoa/exception.svg" alt="Licens…
24 …ttps://img.shields.io/badge/organisation-board-ff0066.svg)](https://waffle.io/hoaproject/exception)
28 (that are not sent over an event channel), uncaught exception handlers, errors
37 require [`hoa/exception`](https://packagist.org/packages/hoa/exception):
40 $ composer require hoa/exception '~1.0'
70 An exception is constitued of:
74 * A previous exception (optional).
76 Thus, the following example builds an exception:
79 $exception = new Hoa\Exception\Exception('Hello %s!', 0, 'world');
82 The exception message will be: `Hello world!`. The “raise” message (with all
94 $exception = new Hoa\Exception\Exception('Hello %s!', 0, 'world', $previous);
96 echo $exception->raise(true);
105 * Nested exception (Hoa\Exception\Exception):
121 $exception = $bucket->getData();
132 exception that contains one or many exceptions. A transactional API is provided
143 exceptions can be thrown instead of one exception. Group can be nested too,