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

Function isAuthError

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

Source from the content-addressed store, hash-verified

84}
85
86export function isAuthError(error: unknown): error is FileSystemError | WarpTokenError {
87 return error instanceof FileSystemError ? error.auth : isWarpTokenError(error);
88}

Callers 2

onedrive.test.tsFile · 0.90

Calls 1

isWarpTokenErrorFunction · 0.85

Tested by

no test coverage detected