solace.messaging.errors package

solace.messaging.errors.pubsubplus_client_error module

This module contains error classes for the PubSub+ Messaging API for Python.

exception solace.messaging.errors.pubsubplus_client_error.AuthenticationError(message, sub_code: int | None = None)

Bases: PubSubPlusClientError

Reserved for future use.

args
with_traceback()

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

exception solace.messaging.errors.pubsubplus_client_error.AuthorizationError(message, sub_code: int | None = None)

Bases: PubSubPlusClientError

A class for raising errors when authorization violations occur.

args
with_traceback()

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

exception solace.messaging.errors.pubsubplus_client_error.BackPressureError(message, sub_code: int | None = None)

Bases: PubSubPlusClientError

A class for raising errors when back pressure occurs. This class is a base class for more specific error.

args
with_traceback()

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

exception solace.messaging.errors.pubsubplus_client_error.IllegalArgumentError

Bases: ValueError

A class for raising errors for illegal argument, which extends ValueError.

args
with_traceback()

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

exception solace.messaging.errors.pubsubplus_client_error.IllegalStateError(message, sub_code: int | None = None)

Bases: PubSubPlusClientError

A class for raising errors for illegal states.

This error is raised when the operation requested cannot be performed as the API state necessary for the operation has not been established.

args
with_traceback()

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

exception solace.messaging.errors.pubsubplus_client_error.IncompatibleMessageError(message, sub_code: int | None = None)

Bases: PubSubPlusClientError

An exception class for incompatible an message. This error is raised when the message are incompatible and the broker is unable to process the message.

args
with_traceback()

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

exception solace.messaging.errors.pubsubplus_client_error.IncompatibleServiceError(message, sub_code: int | None = None)

Bases: PubSubPlusClientError

A class for raising errors for incompatible services.

args
with_traceback()

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

exception solace.messaging.errors.pubsubplus_client_error.IncompleteMessageDeliveryError(message, sub_code: int | None = None)

Bases: PubSubPlusClientError

A class for raising an error when a publisher has been terminated gracefully, but there are some messages left in the buffer.

args
with_traceback()

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

exception solace.messaging.errors.pubsubplus_client_error.InvalidConfigurationError(message, sub_code: int | None = None)

Bases: PubSubPlusClientError

A class for raising errors for invalid configuration.

args
with_traceback()

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

exception solace.messaging.errors.pubsubplus_client_error.InvalidDataTypeError

Bases: TypeError

A class for raising errors for invalid data type in the configuration. This error is thrown when an argument to a function contains an invalid object.

args
with_traceback()

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

exception solace.messaging.errors.pubsubplus_client_error.InvalidServiceURLError(message, sub_code: int | None = None)

Bases: PubSubPlusClientError

A class for raising errors for when an invalid service URL is provided.

args
with_traceback()

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

exception solace.messaging.errors.pubsubplus_client_error.MessageDestinationDoesNotExistError(message, sub_code: int | None = None)

Bases: PubSubPlusClientError

A class for raising errors when the message destination does not exist.

args
with_traceback()

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

exception solace.messaging.errors.pubsubplus_client_error.MessageNotAcknowledgedByBrokerError(message, sub_code: int | None = None)

Bases: PubSubPlusClientError

A class for raising errors when message is not acknowledged by the event broker.

args
with_traceback()

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

exception solace.messaging.errors.pubsubplus_client_error.MessageRejectedByBrokerError(message, sub_code: int | None = None)

Bases: PubSubPlusClientError

A class for raising errors when a message has been rejected by event broker.

args
with_traceback()

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

exception solace.messaging.errors.pubsubplus_client_error.MessageReplayError(message, sub_code: int | None = None)

Bases: PubSubPlusClientError

A class for raising errors when a message replay failure occurs.

args
with_traceback()

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

exception solace.messaging.errors.pubsubplus_client_error.MessageTooBigError(message, sub_code: int | None = None)

Bases: PubSubPlusClientError

A class for raising errors when a message too large.

args
with_traceback()

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

exception solace.messaging.errors.pubsubplus_client_error.MissingReplierError(message, sub_code: int | None = None)

Bases: PubSubPlusClientError

A class for raising errors when missing a replier to a message.

args
with_traceback()

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

exception solace.messaging.errors.pubsubplus_client_error.PubSubPlusClientError(message, sub_code: int | None = None)

Bases: Exception

The base error class for PubSub+ Messaging API for Python.

args
with_traceback()

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

exception solace.messaging.errors.pubsubplus_client_error.PubSubPlusClientIOError(message, sub_code: int | None = None)

Bases: PubSubPlusClientError

A class for raising I/O errors that occur on client applications.

args
with_traceback()

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

exception solace.messaging.errors.pubsubplus_client_error.PubSubPlusCoreClientError(message, sub_code: int | None = None)

Bases: PubSubPlusClientError

The base class to hold sub_code

args
with_traceback()

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

exception solace.messaging.errors.pubsubplus_client_error.PubSubTimeoutError(message, sub_code: int | None = None)

Bases: PubSubPlusClientError

A class for raising errors when a time-out occurs.

args
with_traceback()

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

exception solace.messaging.errors.pubsubplus_client_error.PublisherOverflowError(message, sub_code: int | None = None)

Bases: PubSubPlusClientError

A class for raising errors for throwing publisher overflows.

PublisherOverflowError is thrown when unable to publish a message because the transport is full and buffer space is not available.

args
with_traceback()

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

exception solace.messaging.errors.pubsubplus_client_error.ServiceUnreachableError(message, sub_code: int | None = None)

Bases: PubSubPlusClientError

A class for raising errors when a service is unreachable.

This error is thrown when the MessageService in unable to create a transport connection to the PubSub+ event broker.

args
with_traceback()

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

exception solace.messaging.errors.pubsubplus_client_error.SolaceSDTError(message)

Bases: Exception

A class for raising errors for invalid data type in the dictionary input. This error is thrown when a key or value is not in SDT supported format.

args
with_traceback()

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

exception solace.messaging.errors.pubsubplus_client_error.TransactionError(message, sub_code: int | None = None)

Bases: PubSubPlusClientError

An Error type for raising transaction related errors

args
with_traceback()

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

exception solace.messaging.errors.pubsubplus_client_error.TransactionRollbackError(message, sub_code: int | None = None)

Bases: TransactionError

An error type for rolled back transaction related errors

args
with_traceback()

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

exception solace.messaging.errors.pubsubplus_client_error.TransportError

Bases: Exception

Reserved for future use.

args
with_traceback()

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

exception solace.messaging.errors.pubsubplus_client_error.UnknownTransactionStateError(message, sub_code: int | None = None)

Bases: TransactionError

An error type for raising transactions with unknown state

args
with_traceback()

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.