MCPcopy Create free account
hub / github.com/0010aor/FlashNotes / CancelError

Class CancelError

frontend/src/client/core/CancelablePromise.ts:1–10  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1export class CancelError extends Error {
2 constructor(message: string) {
3 super(message)
4 this.name = 'CancelError'
5 }
6
7 public get isCancelled(): boolean {
8 return true
9 }
10}
11
12export interface OnCancel {
13 readonly isResolved: boolean

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected