Errors
These are some error classes used by Open Mafia Engine.
Note that we still use ValueError, TypeError etc. in many cases; those should ideally be subclassed and made more specific.
open_mafia_engine.errors
MafiaAmbiguousTypeName
The type name conficts with an existing name.
MafiaBadBuilder
Function can't be used as a game builder.
MafiaBadHandler
Function can't be used as an event handler.
MafiaConverterError
Could not convert object to the requested type.
MafiaError
Base class for Mafia exceptions.
MafiaTypeNotFound
The type was not found.