ticket.errors

Exceptions

DuplicateHandlerError

Raised when a handler with a duplicate id or shortcode exists.

InvalidStateChange

Raised when an invalid state change is executed (e.g. closing an open

Module Contents

exception ticket.errors.DuplicateHandlerError[source]

Bases: Exception

Raised when a handler with a duplicate id or shortcode exists.

exception ticket.errors.InvalidStateChange[source]

Bases: Exception

Raised when an invalid state change is executed (e.g. closing an open ticket without the intermediary ‘pending’ step).