Skip to main content

IsFailedWriteToCache

Checks if the provided error indicates a failed write operation 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​

NameTypeDescription
errerrorThe error to check against the known 'failed to write cache' error type.

Returns​

TypeDescription
boolTrue if the error is caused by a failed cache write, False otherwise.