extract QuantumKVCache custom errors to their own files to reduce the chance of future circular dependencies

This commit is contained in:
Hazelnoot 2025-11-02 10:29:23 -05:00
parent bc722ea06d
commit 4336a5d214
5 changed files with 80 additions and 76 deletions

View file

@ -24,8 +24,8 @@ import { CacheManagementService, type ManagedQuantumKVCache } from '@/global/Cac
import { TimeService } from '@/global/TimeService.js';
import { LoggerService } from '@/core/LoggerService.js';
import { isRetryableSymbol } from '@/misc/is-retryable-error.js';
import { KeyNotFoundError } from '@/misc/QuantumKVCache.js';
import type Logger from '@/logger.js';
import { KeyNotFoundError } from '@/misc/errors/KeyNotFoundError.js';
// TODO move to sk-types.d.ts when merged
type MinEntity<T> = Omit<T, NullableProps<T>> & {