Open History to see the last commit
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) {}