-
-
Notifications
You must be signed in to change notification settings - Fork 453
[V5˖] PhpFastCache Exceptions manual
Georges.L edited this page Jun 23, 2022
·
4 revisions
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
❓ Finally, if you need help, always check out the inevitable README.md