MCPcopy Create free account
hub / github.com/scriptscat/scriptcat / isNotFoundError

Function isNotFoundError

packages/filesystem/error.ts:74–76  ·  view source on GitHub ↗
(error: unknown)

Source from the content-addressed store, hash-verified

72}
73
74export function isNotFoundError(error: unknown): error is FileSystemError {
75 return error instanceof FileSystemError && error.notFound;
76}
77
78export function isConflictError(error: unknown): error is FileSystemError {
79 return error instanceof FileSystemError && error.conflict;

Callers 4

listMethod · 0.90
writeMethod · 0.90
onedrive.test.tsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected