MCPcopy
hub / github.com/jvilk/BrowserFS / FileError

Method FileError

src/core/api_error.ts:68–70  ·  view source on GitHub ↗
(code: ErrorCode, p: string)

Source from the content-addressed store, hash-verified

66 }
67
68 public static FileError(code: ErrorCode, p: string): ApiError {
69 return new ApiError(code, ErrorStrings[code], p);
70 }
71 public static ENOENT(path: string): ApiError {
72 return this.FileError(ErrorCode.ENOENT, path);
73 }

Callers 14

ENOENTMethod · 0.95
EEXISTMethod · 0.95
EISDIRMethod · 0.95
ENOTDIRMethod · 0.95
EPERMMethod · 0.95
ENOTEMPTYMethod · 0.95
convertErrorFunction · 0.80
statMethod · 0.80
statSyncMethod · 0.80
statMethod · 0.80
_writeFileStrictMethod · 0.80
_removeMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected