public function setErrorTemplatePath($value)
{
if (($templatePath = Prado::getPathOfNamespace($value)) !== null && is_dir($templatePath)) {
$this->_templatePath = $templatePath;
} else {
throw new TConfigurationException('errorhandler_errortemplatepath_invalid', $value);
}
}