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

Function isConflictError

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

Source from the content-addressed store, hash-verified

76}
77
78export function isConflictError(error: unknown): error is FileSystemError {
79 return error instanceof FileSystemError && error.conflict;
80}
81
82export function isRateLimitError(error: unknown): error is FileSystemError {
83 return error instanceof FileSystemError && error.rateLimit;

Callers 2

onedrive.test.tsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected