diff --git a/packages/opencode/src/storage/storage.ts b/packages/opencode/src/storage/storage.ts index ee2ee45f85..706c24eae2 100644 --- a/packages/opencode/src/storage/storage.ts +++ b/packages/opencode/src/storage/storage.ts @@ -20,13 +20,6 @@ export class NotFoundError extends Schema.TaggedErrorClass()("Not static isInstance(input: unknown): input is NotFoundError { return input instanceof NotFoundError } - - toObject() { - return { - name: "NotFoundError" as const, - data: { message: this.message }, - } - } } export type Error = AppFileSystem.Error | NotFoundError