(collectionId: string, error: Error | string)
| 699 | // Sync Cleanup Errors |
| 700 | export class SyncCleanupError extends TanStackDBError { |
| 701 | constructor(collectionId: string, error: Error | string) { |
| 702 | const message = error instanceof Error ? error.message : String(error) |
| 703 | super( |
| 704 | `Collection "${collectionId}" sync cleanup function threw an error: ${message}`, |
| 705 | ) |
| 706 | this.name = `SyncCleanupError` |
| 707 | } |
| 708 | } |
| 709 | |
| 710 | // Query Optimizer Errors |
nothing calls this directly
no outgoing calls
no test coverage detected