class ErrorNamespaceValidator {

    public static void validate(ErrorNamespace name) {
        Preconditions.checkArgument(
                UPPER_CAMEL_CASE.matcher(name.get()).matches(),
                "Namespace for errors must match pattern %s: %s",
                UPPER_CAMEL_CASE,
                name);
    }

    private  ErrorNamespaceValidator();

}