CacheException constructor
CacheException({})
Creates a cache exception for failures interacting with in-memory/disk cache.
Implementation
CacheException({
required String super.key,
required super.operation,
super.cause,
super.stack,
super.metadata,
}) : super(
userMessage: 'Failed to access cached data.',
devMessage: 'Cache operation failed: $operation for key: $key',
storageType: 'cache',
severity: Severity.error,
isReportable: true,
);