aboutsummaryrefslogtreecommitdiffstats
path: root/bsfs/triple_store/sparql/sparql.py
diff options
context:
space:
mode:
Diffstat (limited to 'bsfs/triple_store/sparql/sparql.py')
-rw-r--r--bsfs/triple_store/sparql/sparql.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bsfs/triple_store/sparql/sparql.py b/bsfs/triple_store/sparql/sparql.py
index dfd9871..fedd227 100644
--- a/bsfs/triple_store/sparql/sparql.py
+++ b/bsfs/triple_store/sparql/sparql.py
@@ -132,7 +132,7 @@ class SparqlStore(base.TripleStoreBase):
if isinstance(cand, bsc.Feature) and cand.distance not in DISTANCE_FU}
if len(invalid) > 0:
cand, dist = zip(*invalid)
- raise ValueError(
+ raise errors.UnsupportedError(
f'unknown distance function {",".join(dist)} in feature {", ".join(cand)}')
# commit the current transaction