Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/vitest-dev/vitest. Next generation testing framework powered by Vite. vitest.dev
Something went wrong. Try again.
12345678910111213141516171819202122import type { CancelReason } from './types/runner'import type { TaskBase } from './types/tasks'
export class PendingError extends Error { public code = 'VITEST_PENDING' public taskId: string
constructor(public message: string, task: TaskBase, public note: string | undefined) { super(message) this.taskId = task.id }}
export class TestRunAbortError extends Error { public name = 'TestRunAbortError' public reason: CancelReason constructor(message: string, reason: CancelReason) { super(message) this.reason = reason }}