Prado\TApplication::getErrorHandler PHP Method

getErrorHandler() public method

public getErrorHandler ( ) : TErrorHandler
return Prado\Exceptions\TErrorHandler the error handler module
    public function getErrorHandler()
    {
        if (!$this->_errorHandler) {
            $this->_errorHandler = new TErrorHandler();
            $this->_errorHandler->init(null);
        }
        return $this->_errorHandler;
    }