import{fo as d,fj as i,gS as p}from"./index-ea7817a2.js";const g=async(n,r)=>{var a,s,o,e;try{await d.download(n,r,i.DATASET)}catch(t){const c=((s=(a=t==null?void 0:t.response)==null?void 0:a.data)==null?void 0:s.usrMsg)||((e=(o=t==null?void 0:t.response)==null?void 0:o.data)==null?void 0:e.errorMsg);p.error({title:"Error",content:c})}};export{g as d};
