public function getErrorTemplate(string $field, string $ruleSlug) : string
    {
        if (isset($this->fieldTemplates[$field][$ruleSlug])) {
            return $this->fieldTemplates[$field][$ruleSlug];
        }

        if (isset($this->globalTemplates[$ruleSlug])) {
            return $this->globalTemplates[$ruleSlug];
        }

        return '';
    }