mirror of
https://github.com/tenrok/axios.git
synced 2026-06-14 18:42:33 +03:00
docs(cancel/CanceledError)
This commit is contained in:
@@ -6,10 +6,11 @@ var utils = require('../utils');
|
||||
/**
|
||||
* A `CanceledError` is an object that is thrown when an operation is canceled.
|
||||
*
|
||||
* @class
|
||||
* @param {string=} message The message.
|
||||
* @param {Object=} config The config.
|
||||
* @param {Object=} request The request.
|
||||
*
|
||||
* @returns {CanceledError} The created error.
|
||||
*/
|
||||
function CanceledError(message, config, request) {
|
||||
// eslint-disable-next-line no-eq-null,eqeqeq
|
||||
|
||||
Reference in New Issue
Block a user