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 {
|
static isInstance(input: unknown): input is NotFoundError {
|
||||||
return input instanceof NotFoundError
|
return input instanceof NotFoundError
|
||||||
}
|
}
|
||||||
|
|
||||||
toObject() {
|
|
||||||
return {
|
|
||||||
name: "NotFoundError" as const,
|
|
||||||
data: { message: this.message },
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export type Error = AppFileSystem.Error | NotFoundError
|
export type Error = AppFileSystem.Error | NotFoundError
|
||||||
|
|||||||
Reference in New Issue
Block a user