Skip to content
Source
Sign inSign up
pingdotgg/t3code
Open History to see the last commit

orchestrationDispatch.ts

12 lines441 Bytes

1import * as Schema from "effect/Schema";
2​
3import { TrimmedNonEmptyString } from "./baseSchemas.ts";
4​
5export class OrchestrationDispatchCommandError extends Schema.TaggedError<OrchestrationDispatchCommandError>()(
6 "OrchestrationDispatchCommandError",
7 {
8 message: TrimmedNonEmptyString,
9 cause: Schema.optional(Schema.Defect()),
10 bootstrapThreadDisposition: Schema.optional(Schema.Literals(["deleted", "not-created"])),
11 },
12) {}