As the name says, it is made to be basic and direct.
InvalidArgumentException class for invalid cache arguments.
Any time an invalid argument is passed into a method it must throw an exception class which implements Psr\Cache\InvalidArgumentException.
Stringable, Throwable
Basicis\Cache\CacheException
| Name | Description | |——|————-|
| Name | Description |
|---|---|
| __construct | Construct the exception |
| __toString | String representation of the exception |
| __wakeup | - |
| getCode | Gets the Exception code |
| getFile | Gets the file in which the exception was created |
| getLine | Gets the line in which the exception was created |
| getMessage | Gets the Exception message |
| getPrevious | Returns previous Exception |
| getTrace | Gets the stack trace |
| getTraceAsString | Gets the stack trace as a string |
| log | Function log |