summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElizabeth Hunt <me@liz.coffee>2025-07-01 10:03:14 -0700
committerElizabeth Hunt <me@liz.coffee>2025-07-01 10:03:14 -0700
commitfd5fb8b5e19bb6b09ed6e2a6050ba6c4a375d520 (patch)
treef0d37fae5e4b3c5f8a0e2806309565b23cba1674
parent36826b754223240ec4cdb01911e9d964f2d23f11 (diff)
downloadci-fd5fb8b5e19bb6b09ed6e2a6050ba6c4a375d520.tar.gz
ci-fd5fb8b5e19bb6b09ed6e2a6050ba6c4a375d520.zip
Remove unnecessary QueueError
-rw-r--r--server/job/queue.ts4
1 files changed, 1 insertions, 3 deletions
diff --git a/server/job/queue.ts b/server/job/queue.ts
index 1f5534f..46d070c 100644
--- a/server/job/queue.ts
+++ b/server/job/queue.ts
@@ -8,14 +8,12 @@ import {
Metric,
type ServerTrace,
TraceUtil,
- PenguenoError,
} from '@emprespresso/pengueno';
import { type Job } from '@emprespresso/ci_model';
type QueuePosition = string;
-export class QueueError extends Error {}
export interface IJobQueuer<TJob> {
- queue: Mapper<TJob, Promise<IEither<QueueError, QueuePosition>>>;
+ queue: Mapper<TJob, Promise<IEither<Error, QueuePosition>>>;
}
export class LaminarJobQueuer implements IJobQueuer<ITraceable<Job, ServerTrace>> {