ticket.errors

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).