Download node_modules/axios/lib/cancel/Cancel.js from khoadang31/uptimerobot: direct link, hf CLI and curl.
- Browser
- Download file 385 Bytes
-
https://huggingface.co/khoadang31/uptimerobot/resolve/main/node_modules/axios/lib/cancel/Cancel.js
- Command line
-
hf download hf://khoadang31/uptimerobot/node_modules/axios/lib/cancel/Cancel.js
-
curl -L -o Cancel.js https://huggingface.co/khoadang31/uptimerobot/resolve/main/node_modules/axios/lib/cancel/Cancel.js
385 Bytes
| ; | |
| /** | |
| * A `Cancel` is an object that is thrown when an operation is canceled. | |
| * | |
| * @class | |
| * @param {string=} message The message. | |
| */ | |
| function Cancel(message) { | |
| this.message = message; | |
| } | |
| Cancel.prototype.toString = function toString() { | |
| return 'Cancel' + (this.message ? ': ' + this.message : ''); | |
| }; | |
| Cancel.prototype.__CANCEL__ = true; | |
| module.exports = Cancel; | |