Skip to content

DreamError

class DreamError(Exception)

Importable as dream.DreamError.

Base of every error the client raises; also raised as itself when a client is used wrongly.

Raised as itself for a call on a client after close(), and for a second call on one inference client while the first is still running: an inference client serves one thread, so use one client per thread.

Raised by

Subclasses: DreamConfigError, DreamObservationError, DreamActionError, DreamTimeout, DreamProtocolError, DreamServerError, DreamDatasetError, DreamUploadError