Source code for methodcache.exceptions



[docs]class GeneralMethodCacheException(Exception): """ General MethodCache Exception """ pass
[docs]class NoMethod(GeneralMethodCacheException): """ Raised when Method not registered in Cache """ pass
[docs]class TTLExpired(GeneralMethodCacheException): """ Raised when TTL of an MethodObject are expired """ pass