pyoperant.errors module

exception pyoperant.errors.ComponentError[source]

Bases: exceptions.Exception

raised for errors with a component.

this should indicate a hardware error in the physical world, like a problem with a feeder.

this should be raised by components when doing any internal validation that they are working properly

exception pyoperant.errors.EndBlock[source]

Bases: exceptions.Exception

exception for when a block should terminate

exception pyoperant.errors.EndSession[source]

Bases: exceptions.Exception

exception for when a session should terminate

exception pyoperant.errors.Error[source]

Bases: exceptions.Exception

base class for exceptions in this module

exception pyoperant.errors.GoodNite[source]

Bases: exceptions.Exception

exception for when the lights should be off

exception pyoperant.errors.InterfaceError[source]

Bases: exceptions.Exception

raised for errors with an interface.

this should indicate a software error, like difficulty connecting to an interface