Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/maka
/ hasErrorCode
Function
hasErrorCode
packages/storage/src/pet-pack-store.ts:528–530 ·
view source on GitHub ↗
(error: unknown, code: string)
Source
from the content-addressed store, hash-verified
526
}
527
528
function
hasErrorCode(error: unknown, code: string): boolean {
529
return
(error as NodeJS.ErrnoException | undefined)?.code === code;
530
}
Callers
7
list
Method · 0.85
get
Method · 0.85
install
Method · 0.85
remove
Method · 0.85
storeRootExists
Method · 0.85
ensurePlainDirectory
Function · 0.85
pathExists
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected