Function: mapFileSystemError()
mapFileSystemError(
err,filePath,codeOf?):FileSystemError
Map an unknown backend failure into a FileSystemError.
Prefer a backend-specific codeOf classifier (errno, SDK code). When
it returns undefined, falls back to inferFileSystemErrorCode. Message
and cause always go through @dbx-tools/shared-core error helpers.
Parameters
Section titled “Parameters”unknown
filePath
Section titled “filePath”string
codeOf?
Section titled “codeOf?”(err) => FileSystemErrorCode | undefined