isCancelErrorCheck if an error is a cancel errorTypefunction isCancelError(error: any): boolean; Return value The function returns a boolean indicating whether the error was caused by a cancelled request.