EdgeAIG's picture
download
raw
249 Bytes
import { formatPath } from "../Formatter.ts"
/** @internal */
export function errorWithPath(message: string, path: ReadonlyArray<PropertyKey>) {
if (path.length > 0) {
message += `\n at ${formatPath(path)}`
}
return new Error(message)
}

Xet Storage Details

Size:
249 Bytes
·
Xet hash:
ba15d789d8574e283df00d91b9e4b1a78009061a09a35f2cd7ce8096916f5d76

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.