Download node_modules/axios/lib/cancel/CanceledError.js from kirimdata369/task-manager-pro: direct link, hf CLI and curl.
- Browser
- Download file 618 Bytes
-
https://huggingface.co/spaces/kirimdata369/task-manager-pro/resolve/main/node_modules/axios/lib/cancel/CanceledError.js
- Command line
-
hf download hf://spaces/kirimdata369/task-manager-pro/node_modules/axios/lib/cancel/CanceledError.js
-
curl -L -o CanceledError.js https://huggingface.co/spaces/kirimdata369/task-manager-pro/resolve/main/node_modules/axios/lib/cancel/CanceledError.js
618 Bytes
| ; | |
| import AxiosError from '../core/AxiosError.js'; | |
| class CanceledError extends AxiosError { | |
| /** | |
| * A `CanceledError` is an object that is thrown when an operation is canceled. | |
| * | |
| * @param {string=} message The message. | |
| * @param {Object=} config The config. | |
| * @param {Object=} request The request. | |
| * | |
| * @returns {CanceledError} The created error. | |
| */ | |
| constructor(message, config, request) { | |
| super(message == null ? 'canceled' : message, AxiosError.ERR_CANCELED, config, request); | |
| this.name = 'CanceledError'; | |
| this.__CANCEL__ = true; | |
| } | |
| } | |
| export default CanceledError; | |