chore(effect): update to beta.107 (#43109)

This commit is contained in:
Kit Langton
2026-08-17 17:54:08 -04:00
committed by GitHub
parent 8fc65b3038
commit d9b81d2233
91 changed files with 1332 additions and 1117 deletions
+2 -2
View File
@@ -3,7 +3,7 @@ export * as Patch from "./patch.js"
import { Result, Schema } from "effect"
import { Bom } from "./bom.js"
export class BoundaryError extends Schema.TaggedErrorClass<BoundaryError>()("Patch.BoundaryError", {
export class BoundaryError extends Schema.TaggedError<BoundaryError>()("Patch.BoundaryError", {
boundary: Schema.Literals(["first", "last"]),
}) {
override get message() {
@@ -11,7 +11,7 @@ export class BoundaryError extends Schema.TaggedErrorClass<BoundaryError>()("Pat
}
}
export class InvalidHunkError extends Schema.TaggedErrorClass<InvalidHunkError>()("Patch.InvalidHunkError", {
export class InvalidHunkError extends Schema.TaggedError<InvalidHunkError>()("Patch.InvalidHunkError", {
line: Schema.String,
lineNumber: Schema.Number,
reason: Schema.optional(Schema.String),