The `ErrorHandler` class allows PHP errors and exceptions to be handled in a uniform way. Using
the `ErrorHandler`'s configuration, it is possible to have very broad but very tight control
over error handling in your application.				
{{{

ErrorHandler::config(array(array(
	'type' => 'Exception',
	'handler' => function($info) use ($self) {
		$self->errors[] = $info;
	}
)));

}}}

Using a series of cascading rules and handlers, it is possible to capture and handle very
specific errors and exceptions.