no message

This commit is contained in:
A1300399510
2024-01-03 19:11:30 +08:00
parent 3778105266
commit 2ddfc65699
941 changed files with 140454 additions and 26 deletions

View File

@@ -0,0 +1,14 @@
'use strict';
import utils from './../utils.js';
/**
* Determines whether the payload is an error thrown by Axios
*
* @param {*} payload The value to test
*
* @returns {boolean} True if the payload is an error thrown by Axios, otherwise false
*/
export default function isAxiosError(payload) {
return utils.isObject(payload) && (payload.isAxiosError === true);
}