formapro/UniversalErrorCatcher — Issue #14: [rfc] Default catcher behavior
Author: smileua
Created: 2011-11-29 09:43:04+00:00
State: open

What if the default behavior would be catching all errors, notices and throwing an exception? It would look like

```php
start();

echo $usingUndefinedVariable; // will produce a notice and therefore an exception
```

as for now it's possible but in following way

```php
registerCallback(function(Exception $e){
throw $e;
});
$catcher->start();

echo $usingUndefinedVariable; // will produce a notice and therefore an exception
```