public function registerFieldErrorTemplate(string $field, string $ruleSlug, string $template)
    {
        if (!isset($this->fieldTemplates[$field])) {
            $this->fieldTemplates[$field] = [];
        }

        $this->fieldTemplates[$field][$ruleSlug] = $template;
    }