Spaces:
Paused
Paused
Download backend/node_modules/@hapi/hoek/lib/assertError.js from AUXteam/UX-agent: direct link, hf CLI and curl.
- Browser
- Download file 361 Bytes
-
https://huggingface.co/spaces/AUXteam/UX-agent/resolve/main/backend/node_modules/%40hapi/hoek/lib/assertError.js
- Command line
-
hf download hf://spaces/AUXteam/UX-agent/backend/node_modules/@hapi/hoek/lib/assertError.js
-
curl -L -o assertError.js https://huggingface.co/spaces/AUXteam/UX-agent/resolve/main/backend/node_modules/%40hapi/hoek/lib/assertError.js
361 Bytes
| ; | |
| const internals = {}; | |
| module.exports = class AssertError extends Error { | |
| name = 'AssertError'; | |
| constructor(message, ctor) { | |
| super(message || 'Unknown error'); | |
| if (typeof Error.captureStackTrace === 'function') { // $lab:coverage:ignore$ | |
| Error.captureStackTrace(this, ctor); | |
| } | |
| } | |
| }; | |