Part of #113.
SessionError derives from Exception, while StateError derives from CacheXError, so except CacheXError catches state errors but not session errors.
Proposal
Rebase SessionError on CacheXError. It stays an Exception, so existing handlers keep working.
Part of #113.
SessionErrorderives fromException, whileStateErrorderives fromCacheXError, soexcept CacheXErrorcatches state errors but not session errors.Proposal
Rebase
SessionErroronCacheXError. It stays anException, so existing handlers keep working.