module WaterDrop::Errors

Namespace used to encapsulate all the internal errors of WaterDrop

Constants

AbortTransaction

Raise it within a transaction to abort it It does not have an ‘Error` postfix because technically it is not an error as it is used for graceful transaction aborting

BaseError

Base class for all the WaterDrop internal errors

ConfigurationInvalidError

Raised when configuration doesn’t match with validation contract

MessageInvalidError

Raised when we want to send a message that is invalid (impossible topic, etc)

ProduceError

Raised when there is an inline error during single message produce operations

ProducerAlreadyConfiguredError

Raised when we want to reconfigure a producer that was already configured

ProducerClosedError

Raised when there was an attempt to use a closed producer

ProducerNotConfiguredError

Raised when we want to use a producer that was not configured

ProducerUsedInParentProcess

Raised when trying to use connected producer from a forked child process Producers cannot be used in forks if they were already used in the child processes

StatusInvalidError

Raised when we’ve got an unexpected status. This should never happen. If it does, please contact us as it is an error.

TransactionRequiredError

Raised when we attempt to perform operation that is only allowed inside of a transaction and there is no transaction around us

TransactionalOffsetInvalidError

Raised when we want to commit transactional offset and the input is invalid

VariantInvalidError

Raised when variant alteration is not valid