IsFailedWriteToCache
Checks if the provided error is caused by a failed write to the cache.
def IsFailedWriteToCache(
err: error
) - > bool
Checks if the provided error indicates a failure to write to the cache. Callers use this to specifically handle errors related to cache write operations.
Parameters
| Name | Type | Description |
|---|---|---|
| err | error | The error to check against the known 'failed to write cache' error type. |
Returns
| Type | Description |
|---|---|
bool | True if the error is caused by a failed cache write, false otherwise. |