Exceptions Python Module

Exceptions module.

This module contains specific exceptions that can happen during the dispatching process.

exception pacifica.dispatcher.exceptions.EventError(event: cloudevents.model.Event)[source]

Base event dispatcher error class.

This the base event class used by all other error classes.

__init__(event: cloudevents.model.Event) → None[source]

Save the event for later use.

exception pacifica.dispatcher.exceptions.TransactionDuplicateAttributeError(event: cloudevents.model.Event, name: str)[source]

Duplicate event error.

Events can be sent multiple times, this error is raised if a transaction event has already been seen.

__init__(event: cloudevents.model.Event, name: str) → None[source]

Add the name of the event as well.