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)
Bases:
PubSubPlusClientErrorReserved for future use.
- add_note()
Exception.add_note(note) – add a note to the exception
- 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)
Bases:
PubSubPlusClientErrorA class for raising errors when authorization violations occur.
- add_note()
Exception.add_note(note) – add a note to the exception
- 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)
Bases:
PubSubPlusClientErrorA class for raising errors when back pressure occurs. This class is a base class for more specific error.
- add_note()
Exception.add_note(note) – add a note to the exception
- args
- with_traceback()
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- exception solace.messaging.errors.pubsubplus_client_error.IllegalArgumentError
Bases:
ValueErrorA class for raising errors for illegal argument, which extends
ValueError.- add_note()
Exception.add_note(note) – add a note to the exception
- 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)
Bases:
PubSubPlusClientErrorA 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.
- add_note()
Exception.add_note(note) – add a note to the exception
- 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)
Bases:
PubSubPlusClientErrorAn exception class for incompatible an message. This error is raised when the message are incompatible and the broker is unable to process the message.
- add_note()
Exception.add_note(note) – add a note to the exception
- 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)
Bases:
PubSubPlusClientErrorA class for raising errors for incompatible services.
- add_note()
Exception.add_note(note) – add a note to the exception
- 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)
Bases:
PubSubPlusClientErrorA class for raising an error when a publisher has been terminated gracefully, but there are some messages left in the buffer.
- add_note()
Exception.add_note(note) – add a note to the exception
- 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)
Bases:
PubSubPlusClientErrorA class for raising errors for invalid configuration.
- add_note()
Exception.add_note(note) – add a note to the exception
- args
- with_traceback()
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- exception solace.messaging.errors.pubsubplus_client_error.InvalidDataTypeError
Bases:
TypeErrorA 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.
- add_note()
Exception.add_note(note) – add a note to the exception
- 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)
Bases:
PubSubPlusClientErrorA class for raising errors for when an invalid service URL is provided.
- add_note()
Exception.add_note(note) – add a note to the exception
- 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)
Bases:
PubSubPlusClientErrorA class for raising errors when the message destination does not exist.
- add_note()
Exception.add_note(note) – add a note to the exception
- 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)
Bases:
PubSubPlusClientErrorA class for raising errors when message is not acknowledged by the event broker.
- add_note()
Exception.add_note(note) – add a note to the exception
- 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)
Bases:
PubSubPlusClientErrorA class for raising errors when a message has been rejected by event broker.
- add_note()
Exception.add_note(note) – add a note to the exception
- 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)
Bases:
PubSubPlusClientErrorA class for raising errors when a message replay failure occurs.
- add_note()
Exception.add_note(note) – add a note to the exception
- 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)
Bases:
PubSubPlusClientErrorA class for raising errors when a message too large.
- add_note()
Exception.add_note(note) – add a note to the exception
- 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)
Bases:
PubSubPlusClientErrorA class for raising errors when missing a replier to a message.
- add_note()
Exception.add_note(note) – add a note to the exception
- 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)
Bases:
ExceptionThe base error class for PubSub+ Messaging API for Python.
- add_note()
Exception.add_note(note) – add a note to the exception
- 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)
Bases:
PubSubPlusClientErrorA class for raising I/O errors that occur on client applications.
- add_note()
Exception.add_note(note) – add a note to the exception
- 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)
Bases:
PubSubPlusClientErrorThe base class to hold sub_code
- add_note()
Exception.add_note(note) – add a note to the exception
- 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)
Bases:
PubSubPlusClientErrorA class for raising errors when a time-out occurs.
- add_note()
Exception.add_note(note) – add a note to the exception
- 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)
Bases:
PubSubPlusClientErrorA class for raising errors for throwing publisher overflows.
PublisherOverflowErroris thrown when unable to publish a message because the transport is full and buffer space is not available.- add_note()
Exception.add_note(note) – add a note to the exception
- 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)
Bases:
PubSubPlusClientErrorA class for raising errors when a service is unreachable.
This error is thrown when the
MessageServicein unable to create a transport connection to the PubSub+ event broker.- add_note()
Exception.add_note(note) – add a note to the exception
- 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:
ExceptionA 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.
- add_note()
Exception.add_note(note) – add a note to the exception
- 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)
Bases:
PubSubPlusClientErrorAn Error type for raising transaction related errors
- add_note()
Exception.add_note(note) – add a note to the exception
- 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)
Bases:
TransactionErrorAn error type for rolled back transaction related errors
- add_note()
Exception.add_note(note) – add a note to the exception
- args
- with_traceback()
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.
- exception solace.messaging.errors.pubsubplus_client_error.TransportError
Bases:
ExceptionReserved for future use.
- add_note()
Exception.add_note(note) – add a note to the exception
- 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)
Bases:
TransactionErrorAn error type for raising transactions with unknown state
- add_note()
Exception.add_note(note) – add a note to the exception
- args
- with_traceback()
Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.