Download .opencode/node_modules/effect/dist/internal/errors.js from Chenloong999/opencode-data: direct link, hf CLI and curl.
- Browser
- Download file 249 Bytes
-
https://huggingface.co/datasets/Chenloong999/opencode-data/resolve/84c8581d284a6a73a22921151ea3d89e2bcfe44e/.opencode/node_modules/effect/dist/internal/errors.js
- Command line
-
hf download hf://datasets/Chenloong999/opencode-data@84c8581d284a6a73a22921151ea3d89e2bcfe44e/.opencode/node_modules/effect/dist/internal/errors.js
-
curl -L -o errors.js https://huggingface.co/datasets/Chenloong999/opencode-data/resolve/84c8581d284a6a73a22921151ea3d89e2bcfe44e/.opencode/node_modules/effect/dist/internal/errors.js
249 Bytes
| import { formatPath } from "../Formatter.js"; | |
| /** @internal */ | |
| export function errorWithPath(message, path) { | |
| if (path.length > 0) { | |
| message += `\n at ${formatPath(path)}`; | |
| } | |
| return new Error(message); | |
| } | |
| //# sourceMappingURL=errors.js.map |