KubeMQ
Client SDKsPythonReference

Types & Errors

Shared types and exceptions — KubeMQ Python SDK reference.

Python surfaces rich dataclasses for messages and structured exceptions for transport failures.

Exception hierarchy

ExceptionRetryableWhen
KubeMQConnectionErrorYesNetwork or broker unavailable
KubeMQTimeoutErrorYesDeadline exceeded
KubeMQAuthenticationErrorNoInvalid credentials
KubeMQValidationErrorNoInvalid parameters
KubeMQErrorVariesBase exception

Async variants

Use AsyncPubSubClient and async context managers when integrating with asyncio. Always thread AsyncCancellationToken instances into subscriptions so workers can shut down cleanly.

Resources

See Also

Was this page helpful?

On this page