src/Debug/WhoopsErrorHandler.php
public function display()
    {
        $handler = new PrettyPageHandler;

        error_reporting(E_ALL);

        $this->__call('pushHandler', array($handler));

        return $this->whoops->register();
    }
public function display()
    {
        $handler = new PrettyPageHandler;

        error_reporting(E_ALL);

        $this->__call('pushHandler', array($handler));

        return $this->whoops->register();
    }
Registers the instance as an error handler.

@return mixed