import{z as r,N as o}from"./index-BbBXKozi.js";const n=r.object({message:r.string(),code:r.string()});function c(s){if(s instanceof o){const e=s.response?.data,t=n.safeParse(e);if(t.success)return t.data}return null}export{c as g};
//# sourceMappingURL=getBLASTApiError-DvTYCQ_-.js.map