class NotFound(RuntimeError):
    pass


# When something has no value set yet.
class NotSet(RuntimeError):
    pass


class TransientError(RuntimeError):
    pass


class RemoteSubmitFailed(RuntimeError):
    pass


class CapacityReached(RuntimeError):
    pass


class DuplicateLabelException(RuntimeError):
    pass


class DlsBxflowClientConnectorError(RuntimeError):
    pass


class Factory:
    def build(qualname):
        if qualname == "dls_bxflow_api.exceptions.CapacityReached":
            return CapacityReached
        return None
