Module for SuRF exceptions.
Bases: exceptions.Exception
Raised when list length != 1.
Subclasses of this exception are raised by surf.resource.result_proxy.ResultProxy.one() and surf.resource.value.ResultValue.get_one().
Bases: surf.exc.CardinalityException
Raised when list length > 1.
This exception is raised by surf.resource.result_proxy.ResultProxy.one() and surf.resource.value.ResultValue.get_one().
Bases: surf.exc.CardinalityException
Raised when list length == 0.
This exception is raised by surf.resource.result_proxy.ResultProxy.one() and surf.resource.value.ResultValue.get_one().