1import{h as o,J as n}from"./index-DFhUiiAX.js";function t(e,r,s){if(e instanceof o){if(e.kind==="unauthorized"){n.error("Sesión caducada. Vuelve a iniciar sesión."),r({to:"/premiumpartners",replace:!0});return}if(e.kind==="forbidden"){const a="No tienes permisos para gestionar contenido web.";s?.({kind:"forbidden",message:a}),n.error(a);return}s?.({kind:e.kind,message:e.message}),n.error(e.message);return}const i=e?.message??"Error inesperado";s?.({kind:"unknown",message:i}),n.error(i)}export{t as handleCmsError};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.