mirror of
https://github.com/anomalyco/opencode.git
synced 2026-05-25 13:54:52 +00:00
refactor(storage): remove not found wire serializer (#27416)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user