labthings_fastapi.exceptions

A submodule for custom LabThings-FastAPI Exceptions

Module Contents

Data

__all__

API

exception labthings_fastapi.exceptions.NotConnectedToServerError

Bases: RuntimeError

The Thing is not connected to a server

This exception is called if a ThingAction is called or is a ThingProperty is updated on a Thing that is not connected to a ThingServer. A server connection is needed to manage asynchronous behaviour.

labthings_fastapi.exceptions.__all__

[‘NotConnectedToServerError’, ‘InvocationCancelledError’]