UNPKG

@gentrace/core

Version:
9 lines (8 loc) 264 B
/** * 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: any): boolean;