protected function translateErrorType($errorint)
    {
        if (isset($this->errorTranslation[$errorint]) === true) {
            return $this->errorTranslation[$errorint];
        }

        // Fallback to 'unknown'.
        return array('Unknown error', 'unknown');
    }