jina.excepts

exception jina.excepts.NoExplicitMessage[source]

Bases: Exception

Waiting until all partial messages are received

exception jina.excepts.MismatchedVersion[source]

Bases: SystemError

When the jina version info of the incoming message does not match the local jina version

exception jina.excepts.ExecutorFailToLoad[source]

Bases: SystemError

When the executor can not be loaded in pea/pod

exception jina.excepts.MemoryOverHighWatermark[source]

Bases: Exception

When the memory usage is over the defined high water mark

exception jina.excepts.DriverError[source]

Bases: Exception

Driver related exceptions

exception jina.excepts.RequestLoopEnd[source]

Bases: KeyboardInterrupt

The event loop of BasePea ends

exception jina.excepts.PodRunTimeError[source]

Bases: Exception

The error propagated by Pods when Executor throws an exception

exception jina.excepts.DriverNotInstalled[source]

Bases: jina.excepts.DriverError

Driver is not installed in the BasePea

exception jina.excepts.NoDriverForRequest[source]

Bases: jina.excepts.DriverError

No matched driver for this request

exception jina.excepts.UnattachedDriver[source]

Bases: jina.excepts.DriverError

Driver is not attached to any BasePea or executor

exception jina.excepts.UnknownControlCommand[source]

Bases: RuntimeError

The control command received can not be recognized

exception jina.excepts.FlowTopologyError[source]

Bases: Exception

Flow exception when the topology is ambiguous.

exception jina.excepts.FlowConnectivityError[source]

Bases: Exception

Flow exception when the flow is not connective via network.

exception jina.excepts.FlowMissingPodError[source]

Bases: Exception

Flow exception when a pod can not be found in the flow.

exception jina.excepts.FlowBuildLevelError[source]

Bases: Exception

Flow exception when required build level is higher than the current build level.

exception jina.excepts.EmptyExecutorYAML[source]

Bases: Exception

The yaml config file is empty, nothing to read from there.

exception jina.excepts.BadWorkspace[source]

Bases: Exception

Can not determine the separate storage strategy for the executor

exception jina.excepts.BadClient[source]

Bases: Exception

A wrongly defined grpc client, can not communicate with jina server correctly

exception jina.excepts.BadPersistantFile[source]

Bases: Exception

Bad or broken dump file that can not be deserialized with pickle.load

exception jina.excepts.BadRequestType[source]

Bases: Exception

Bad request type and the pod does not know how to handle

exception jina.excepts.GRPCServerError[source]

Bases: Exception

Can not connect to the grpc gateway

exception jina.excepts.GatewayPartialMessage[source]

Bases: Exception

Gateway receives a multi-part message but it can not handle it