src/Errorhandler/AbstractError.php
protected function translateErrorType($errorint)
    {
        if (isset($this->errorTranslation[$errorint]) === true) {
            return $this->errorTranslation[$errorint];
        }

        // Fallback to 'unknown'.
        return array('Unknown error', 'unknown');
    }
protected function translateErrorType($errorint)
    {
        if (isset($this->errorTranslation[$errorint]) === true) {
            return $this->errorTranslation[$errorint];
        }

        // Fallback to 'unknown'.
        return array('Unknown error', 'unknown');
    }
protected function translateErrorType ( $ errorint ) { if ( isset ( $ this -> errorTranslation [ $ errorint ] ) === true ) { return $ this -> errorTranslation [ $ errorint ] ; } // Fallback to 'unknown'. return array ( 'Unknown error' , 'unknown' ) ; }
Translates the error number into human readable text.

It also includes the corresponding config
setting, so we can decide if we want to output
anything.

@param int $errorint
The error number.

@return array
The translated type and the setting.
Translates the error number into human readable text .