[V5˖] PhpFastCache Exceptions manual - PHPSocialNetwork/phpfastcache GitHub Wiki
⚠️ This Wiki Page needs to be updated as it is currently outdated
PhpFastCache offers you some custom Exception to help you to manage there error more easily.
- \phpFastCache\Exceptions\phpFastCacheCoreException
- Description: Generally trowed when a core-related error appears, or when an unclassified kind of error appears.
- Version:
V5, V6
- \phpFastCache\Exceptions\phpFastCacheDriverCheckException
- Description: Only trowed when a driver cannot get initialized.
- Version:
V5, V6
- \phpFastCache\Exceptions\phpFastCacheDriverException
- Description: Only trowed when a driver encountered an issue which is not related to initialization.
- Version:
V5, V6
- \phpFastCache\Exceptions\phpFastCacheIOException
- Description: Only trowed when an I/O operation has failed. Few drivers can trigger this kind of exception: Files, Leveldb, Sqlite
- Version:
V6
- \phpFastCache\Exceptions\phpFastCacheRootException
- Description: The root Exception of all Exception above. This allow you to catch any PhpFastCache-related exception.
- Version:
V6
⚠️ Please note that as of the V6, all Exceptions make extends of \phpFastCache\Exceptions\phpFastCacheRootException