intficpy.exceptions module

exception intficpy.exceptions.AbortTurn

Bases: Exception

Abort the current turn. Error message will not be printed.

exception intficpy.exceptions.DeserializationError

Bases: Exception

Error deserializing a value during game load

exception intficpy.exceptions.IFPError

Bases: Exception

exception intficpy.exceptions.NoMatchingSuggestion(query, options, matches)

Bases: Exception

exception intficpy.exceptions.ObjectMatchError

Bases: intficpy.exceptions.ParserError

No matching IFPObject could be found for either the direct or indirect object in the player command

exception intficpy.exceptions.OutOfRange

Bases: intficpy.exceptions.ParserError

The specified object is out of range for the current verb

exception intficpy.exceptions.ParserError

Bases: Exception

Error parsing the player command

exception intficpy.exceptions.Unserializable

Bases: Exception

The item is not serializable by the save system.

exception intficpy.exceptions.VerbDefinitionError

Bases: Exception

A verb is defined in an incorrect or inconsistent way

exception intficpy.exceptions.VerbMatchError

Bases: intficpy.exceptions.ParserError

No matching verb could be identified from the player input