[{"data":1,"prerenderedAt":241},["ShallowReactive",2],{"navigation_docs":3,"landing":60},[4,15,40,50],{"title":5,"icon":6,"path":7,"stem":8,"children":9,"page":6},"Getting Started",false,"\u002Fgetting-started","1.getting-started",[10],{"title":11,"path":12,"stem":13,"icon":14},"Quick start","\u002Fgetting-started\u002Fquick-start","1.getting-started\u002F1.quick-start","i-lucide-rocket",{"title":16,"path":17,"stem":18,"children":19,"page":6},"Guide","\u002Fguide","2.guide",[20,25,30,35],{"title":21,"path":22,"stem":23,"icon":24},"Defining diagnostics","\u002Fguide\u002Fdefining-diagnostics","2.guide\u002F1.defining-diagnostics","i-lucide-list-tree",{"title":26,"path":27,"stem":28,"icon":29},"Reporters and formatters","\u002Fguide\u002Freporters-and-formatters","2.guide\u002F2.reporters-and-formatters","i-lucide-share-2",{"title":31,"path":32,"stem":33,"icon":34},"Production builds","\u002Fguide\u002Fproduction-builds","2.guide\u002F3.production-builds","i-lucide-scissors",{"title":36,"path":37,"stem":38,"icon":39},"Dev collector","\u002Fguide\u002Fdev-collector","2.guide\u002F4.dev-collector","i-lucide-terminal",{"title":41,"path":42,"stem":43,"children":44,"page":6},"Recipes","\u002Frecipes","3.recipes",[45],{"title":46,"path":47,"stem":48,"icon":49},"Diagnostic registry","\u002Frecipes\u002Fdiagnostic-registry","3.recipes\u002F1.diagnostic-registry","i-lucide-book-open",{"title":51,"path":52,"stem":53,"children":54,"page":6},"Api","\u002Fapi","4.api",[55],{"title":56,"path":57,"stem":58,"icon":59},"Reference","\u002Fapi\u002Freference","4.api\u002F1.reference","i-lucide-file-code",{"id":61,"title":62,"body":63,"description":62,"extension":233,"meta":234,"navigation":235,"path":236,"seo":237,"stem":239,"__hash__":240},"landing\u002Findex.md","",{"type":64,"value":65,"toc":230},"minimark",[66,123,198],[67,68,69,79,82,108],"u-page-hero",{},[70,71,72],"template",{"v-slot:headline":62},[73,74],"logo",{"className":75},[76,77,78],"mx-auto","h-20","mb-6",[70,80,81],{"v-slot:title":62},"Errors worth reading",[70,83,84,99],{"v-slot:description":62},[85,86,87,93,94,98],"p",{},[88,89,92],"span",{"className":90},[91],"font-mono","nostics"," helps library authors replace ad hoc error strings with stable codes, actionable fixes, docs links, and structured ",[95,96,97],"code",{},"Diagnostic"," objects.",[100,101,104],"div",{"className":102},[103],"diag-hero",[105,106],"diagnostic",{"log":107},"[NUXT_B2011] Plugin `.\u002Fruntime\u002Fanalytics.server.ts` has mode `client`.\n├▶ fix: Rename the file or register it with mode `server`.\n├▶ sources: modules\u002Fanalytics.ts:18:5\n╰▶ see: https:\u002F\u002Fnuxt.com\u002Fe\u002Fb2011\n",[70,109,110,116],{"v-slot:links":62},[111,112,11],"u-button",{"color":113,"size":114,"to":12,"trailing-icon":115},"primary","xl","i-lucide-arrow-right",[111,117,122],{"color":118,"size":114,"to":119,"icon":120,"variant":121},"neutral","https:\u002F\u002Fgithub.com\u002Fvercel-labs\u002Fnostics","simple-icons-github","outline","GitHub",[124,125,126,133],"u-page-section",{},[70,127,128],{"v-slot:headline":62},[88,129,132],{"className":130},[131],"section-eyebrow","What it gives you",[70,134,135,151,161,171,180,189],{"v-slot:features":62},[136,137,141,144],"u-page-feature",{"icon":138,"className":139},"i-lucide-hash",[140],"dev-card",[70,142,143],{"v-slot:title":62},"Stable codes",[70,145,146,147,150],{"v-slot:description":62},"Give every known problem a permanent code like ",[95,148,149],{},"NUXT_B2011",". Users can search it, docs can link to it, and your wording can improve without breaking the identifier.",[136,152,155,158],{"icon":153,"className":154},"i-lucide-check-circle",[140],[70,156,157],{"v-slot:title":62},"Actionable fixes",[70,159,160],{"v-slot:description":62},"Put the next step next to the error. The default formatter renders the message, fix, source locations, and docs URL in one compact block.",[136,162,165,168],{"icon":163,"className":164},"i-lucide-braces",[140],[70,166,167],{"v-slot:title":62},"Typed params",[70,169,170],{"v-slot:description":62},"Use functions for dynamic messages and fixes. TypeScript requires the right params wherever you report the diagnostic.",[136,172,174,177],{"icon":29,"className":173},[140],[70,175,176],{"v-slot:title":62},"Reporters",[70,178,179],{"v-slot:description":62},"Log to the console, append NDJSON to a file, POST to an endpoint, or write your own reporter.",[136,181,183,186],{"icon":34,"className":182},[140],[70,184,185],{"v-slot:title":62},"Production stripping",[70,187,188],{"v-slot:description":62},"Use the build plugin to remove report-only diagnostics and their catalog text from production bundles.",[136,190,192,195],{"icon":39,"className":191},[140],[70,193,194],{"v-slot:title":62},"Vite dev collection",[70,196,197],{"v-slot:description":62},"Forward browser diagnostics to a local log file during Vite dev when the browser console is not enough.",[124,199,200,206],{},[70,201,202],{"v-slot:headline":62},[88,203,205],{"className":204},[131],"Start here",[70,207,208,215,222],{"v-slot:features":62},[136,209,210,212],{"icon":14,"to":12},[70,211,11],{"v-slot:title":62},[70,213,214],{"v-slot:description":62},"Install the package, define two codes, and report your first diagnostic.",[136,216,217,219],{"icon":24,"to":22},[70,218,16],{"v-slot:title":62},[70,220,221],{"v-slot:description":62},"Learn the catalog shape, params, docs URLs, sources, causes, reporters, and build plugins.",[136,223,224,227],{"icon":59,"to":57},[70,225,226],{"v-slot:title":62},"API reference",[70,228,229],{"v-slot:description":62},"Check imports, option names, reporter signatures, formatter shapes, and plugin options.",{"title":62,"searchDepth":231,"depth":231,"links":232},2,[],"md",{},true,"\u002F",{"title":81,"description":238},"Errors worth reading. Stable codes, fixes, docs URLs, reporters, and production stripping","index","IRS0KLj_h_8__ML4tdnSPyt2PZ89q0s8U1SOf_O7BeA",1781110593096]