refactor(storage): remove not found wire serializer (#27416)
This commit is contained in:
parent
edf7649400
commit
681594b551
1 changed files with 0 additions and 7 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue