TenantAtlas/apps/platform/.pnpm-store/v10/files/8d/e9469b57f893eb5786675053632e3df7edfe9ab752f5fa0e8d9af11408e34a4891e512457c1f30e84e4242e9c46221edd28dcb4746dfb88c69b4381e84fd71
Ahmed Darrazi 9f74f7a658
Some checks failed
PR Fast Feedback / fast-feedback (pull_request) Failing after 51s
feat: compress governance operator outcomes
2026-04-19 14:15:11 +02:00

15 lines
369 B
Plaintext

'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;
}