PageSourceSearch

https://veronica.ru/_nuxt/chunk_apiErrorHandler_CMLGAc4q.js

js veronica.ru collected 2026-09-24 09:44:51 UTC 675 bytes, 1 lines download raw bytes

1import{o as i,F as n,r as f}from"./entry_entry_Drpi5Ggf.js";import{d as l}from"./chunk_swiper-vue_Cr0bRU3B.js";const c=(t,e)=>{const o=e||"Что-то пошло не так";if(l(t)&&!t.value)throw i({statusCode:404,message:o});return t instanceof n?(console.log(t.data),t.data&&t.data.detail?t.data.detail:t.message||o):(f().public.isDebug&&(console.group(),console.debug("message:",o),console.groupEnd()),o)},g=(t,e)=>{if(!t||!e)return"";let o="";if(t instanceof n){const s=t.data;o=s.detail;for(const r of s.violations||[]){const a=r.message||"Ошибка в поле "+r.propertyPath;r.propertyPath in e?e[r.propertyPath].error=a:o+=a}}return o};export{c as h,g as s};

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.