yii\web\Application::getErrorHandler PHP Method

getErrorHandler() public method

Returns the error handler component.
public getErrorHandler ( ) : ErrorHandler
return ErrorHandler the error handler application component.
    public function getErrorHandler()
    {
        return $this->get('errorHandler');
    }