Prado\Data\ActiveRecord\Exceptions\TActiveRecordException::getErrorMessageFile PHP Method

getErrorMessageFile() protected method

protected getErrorMessageFile ( ) : string
return string path to the error message file
    protected function getErrorMessageFile()
    {
        $lang = Prado::getPreferredLanguage();
        $path = dirname(__FILE__);
        $msgFile = $path . '/messages-' . $lang . '.txt';
        if (!is_file($msgFile)) {
            $msgFile = $path . '/messages.txt';
        }
        return $msgFile;
    }
TActiveRecordException