@sidequest/core
Version:
@sidequest/core is the core package of SideQuest, a distributed background job queue for Node.js and TypeScript applications.
16 lines (13 loc) • 455 B
TypeScript
import { JobData } from '../schema/job-data.js';
/**
* Error thrown when a job with the same parameters is detected as duplicated.
*
* @extends Error
* @param job - The job data that caused the duplication error.
* @remarks
* This error includes information about the job's class, constructor arguments, and additional arguments.
*/
declare class DuplicatedJobError extends Error {
constructor(job: JobData);
}
export { DuplicatedJobError };