From 74771841f0640cdc263f5818e25b636f7ea7107a Mon Sep 17 00:00:00 2001 From: Jesper Friis Date: Mon, 13 Nov 2023 20:57:23 +0100 Subject: [PATCH] Added UnknownUnitError --- tripper/mappings/mappings.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tripper/mappings/mappings.py b/tripper/mappings/mappings.py index 9986a111..8cdf9978 100644 --- a/tripper/mappings/mappings.py +++ b/tripper/mappings/mappings.py @@ -57,6 +57,10 @@ class MissingRelationError(MappingError): """There are missing relations in RDF triples.""" +class UnknownUnitError(MappingError): + """A unit does not exists in the pint unit registry.""" + + class StepType(Enum): """Type of mapping step when going from the output to the inputs."""