Source code for OrodaelTurrim.Structure.Exceptions

[docs]class OrodaelTurrimException(Exception): """ Base framework exception. All framework exception inherit from this exception """ pass
[docs]class IllegalArgumentException(OrodaelTurrimException): """ Illegal argument passed to object initialization """ pass
[docs]class IllegalActionException(OrodaelTurrimException): """ You try to use illegal action on the game engine """ pass
[docs]class IllegalHistoryOperation(OrodaelTurrimException): """ Trying to do illegal operation when in Browsing mode """ pass
[docs]class IllegalLogMessage(OrodaelTurrimException): """ You are trying to log message which is not correct type """ pass
[docs]class IllegalConfigState(OrodaelTurrimException): """ Something missing in game config file """ pass
[docs]class IllegalRulesFormat(OrodaelTurrimException): """ Problem with parsing rules file """ pass
[docs]class BadActionBaseParameters(OrodaelTurrimException): """ ActionBase method has bad parameters """ pass
[docs]class BadFactDataValue(OrodaelTurrimException): """ Fact contain bad value type """ pass