(exc)
return 'at path {}: {}'.format(path, exc.message)
Given a dbt.dataclass_schema.ValidationError (which is basically a
    jsonschema.ValidationError), return the relevant parts as a string
Given a dbt.dataclass_schema.ValidationError (which is basically a
    jsonschema.ValidationError), return the relevant parts as a string
Given a dbt . dataclass_schema . ValidationError ( which is basically a jsonschema . ValidationError ) return the relevant parts as a string
def validator_error_message(exc):
    """Given a dbt.dataclass_schema.ValidationError (which is basically a
    jsonschema.ValidationError), return the relevant parts as a string
    """
    if not isinstance(exc, dbt.dataclass_schema.ValidationError):
        return str(exc)
    path = "[%s]" % "][".join(map(repr, exc.relative_path))
    return 'at path {}: {}'.format(path, exc.message)
def validator_error_message ( exc ) : if not isinstance ( exc , dbt . dataclass_schema . ValidationError ) : return str ( exc ) path = "[%s]" % "][" . join ( map ( repr , exc . relative_path ) ) return 'at path {}: {}' . format ( path , exc . message )