Spaces:
Configuration error
Configuration error
Download sessions/node_modules/bail/index.js from CPISTO/TARSTHENEXT: direct link, hf CLI and curl.
- Browser
- Download file 207 Bytes
-
https://huggingface.co/spaces/CPISTO/TARSTHENEXT/resolve/main/sessions/node_modules/bail/index.js
- Command line
-
hf download hf://spaces/CPISTO/TARSTHENEXT/sessions/node_modules/bail/index.js
-
curl -L -o index.js https://huggingface.co/spaces/CPISTO/TARSTHENEXT/resolve/main/sessions/node_modules/bail/index.js
207 Bytes
| /** | |
| * Throw a given error. | |
| * | |
| * @param {Error|null|undefined} [error] | |
| * Maybe error. | |
| * @returns {asserts error is null|undefined} | |
| */ | |
| export function bail(error) { | |
| if (error) { | |
| throw error | |
| } | |
| } | |