Source code for malib.utils.errors

[docs]class Error(Exception): pass
[docs]class RepeatLockingError(Error): """Raised when lock parameter description""" pass
[docs]class UnexpectedType(Error): """Raised when type is not expected""" pass
[docs]class NoEnoughSpace(Error): """Raised when population size is not enough for new policies registry""" pass
[docs]class UnexpectedAlgorithm(Error): """Raised when registered an unkown algorithm in agent.AgentInterface""" pass
[docs]class TypeError(Error): """Raised when illegal type""" pass
[docs]class RepeatedAssignError(Error): """Raised when repeated assign value to a not-None dict""" pass
[docs]class OversampleError(Error): """Raised when over-sample from a offline data table""" pass
[docs]class NoEnoughDataError(Error): pass
[docs]class RegisterFailure(Error): pass