Browse Source

refactor(storage): remove not found wire serializer (#27416)

Kit Langton 4 months ago
parent
commit
681594b551
1 changed files with 0 additions and 7 deletions
  1. 0 7
      packages/opencode/src/storage/storage.ts

+ 0 - 7
packages/opencode/src/storage/storage.ts

@@ -20,13 +20,6 @@ export class NotFoundError extends Schema.TaggedErrorClass<NotFoundError>()("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