UNPKG

@adaas/virtul-api

Version:

The library to templitify API requests and work with async tasks.

20 lines (19 loc) 548 B
import { VAPIExecutionTask } from "../tasks/task.abstract"; import { VAPIExecutionTaskLifecycle } from "../tasks/task.types"; export type IVAPIExecutionErrorParams = { name: string; code: string; description: string; message: string; originalError?: Error | unknown; }; export interface IVAPIExecutionError { task: VAPIExecutionTask<VAPIExecutionTaskLifecycle>; name: string; code: string; description: string; originalError?: Error | unknown; } export interface IExecutionTestConfig { sync?: boolean; }