The best way to control Claude Code, Codex and more from any computer or phone
Mirrored from https://github.com/Camo67/t3code.git
Synced Nov 21, 06:00 UTC
| 1 | import * as Data from "effect/Data"; |
| 2 | |
| 3 | /** |
| 4 | * A cursor-paginated listing answered `hasMore: true` without a next cursor. |
| 5 | * |
| 6 | * The hand-rolled client raised this as a protocol error; distilled returns |
| 7 | * the page as the server sent it, so every walk raises it inline instead of |
| 8 | * reading the malformed page as the end of the list — a truncated listing |
| 9 | * would make the adoption and uniqueness guards mint duplicates or miss live |
| 10 | * resources. |
| 11 | */ |
| 12 | export class PrismaPaginationError extends Data.TaggedError("PrismaPaginationError")<{ |
| 13 | message: string; |
| 14 | }> {} |