CAOS.exceptions package

Submodules

CAOS.exceptions.dispatch_errors module

Errors that occur while dispatching the mechanism or type.

exception CAOS.exceptions.dispatch_errors.DispatchException[source]

Bases: exceptions.Exception

Generic error raised when some problem occurs during dispatch.

exception CAOS.exceptions.dispatch_errors.ExistingReactionError[source]

Bases: CAOS.exceptions.dispatch_errors.DispatchException

A mechanism with this name has already been registered.

exception CAOS.exceptions.dispatch_errors.InvalidReactionError[source]

Bases: CAOS.exceptions.dispatch_errors.DispatchException

The reaction being registered is invalid in some way.

CAOS.exceptions.reaction_errors module

Reaction errors; i.e. those that occur during a reaction.

exception CAOS.exceptions.reaction_errors.FailedReactionError[source]

Bases: exceptions.Exception

Indicates that a reaction failed to occur.

Module contents

Exceptions used by the library.