mirror of
https://github.com/tenrok/axios.git
synced 2026-06-05 16:42:32 +03:00
Fixing typo in comment blocks of createError() and enhanceError() functions (#857)
This commit is contained in:
committed by
Rubén Norte
parent
f31317aeca
commit
1beb245f3a
Vendored
+2
-2
@@ -2905,7 +2905,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
||||
* @param {string} message The error message.
|
||||
* @param {Object} config The config.
|
||||
* @param {string} [code] The error code (for example, 'ECONNABORTED').
|
||||
@ @param {Object} [response] The response.
|
||||
* @param {Object} [response] The response.
|
||||
* @returns {Error} The created error.
|
||||
*/
|
||||
module.exports = function createError(message, config, code, response) {
|
||||
@@ -2926,7 +2926,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
||||
* @param {Error} error The error to update.
|
||||
* @param {Object} config The config.
|
||||
* @param {string} [code] The error code (for example, 'ECONNABORTED').
|
||||
@ @param {Object} [response] The response.
|
||||
* @param {Object} [response] The response.
|
||||
* @returns {Error} The error.
|
||||
*/
|
||||
module.exports = function enhanceError(error, config, code, response) {
|
||||
|
||||
@@ -8,8 +8,8 @@ var enhanceError = require('./enhanceError');
|
||||
* @param {string} message The error message.
|
||||
* @param {Object} config The config.
|
||||
* @param {string} [code] The error code (for example, 'ECONNABORTED').
|
||||
@ @param {Object} [request] The request.
|
||||
@ @param {Object} [response] The response.
|
||||
* @param {Object} [request] The request.
|
||||
* @param {Object} [response] The response.
|
||||
* @returns {Error} The created error.
|
||||
*/
|
||||
module.exports = function createError(message, config, code, request, response) {
|
||||
|
||||
@@ -6,8 +6,8 @@
|
||||
* @param {Error} error The error to update.
|
||||
* @param {Object} config The config.
|
||||
* @param {string} [code] The error code (for example, 'ECONNABORTED').
|
||||
@ @param {Object} [request] The request.
|
||||
@ @param {Object} [response] The response.
|
||||
* @param {Object} [request] The request.
|
||||
* @param {Object} [response] The response.
|
||||
* @returns {Error} The error.
|
||||
*/
|
||||
module.exports = function enhanceError(error, config, code, request, response) {
|
||||
|
||||
Reference in New Issue
Block a user