[{"data":1,"prerenderedAt":549},["ShallowReactive",2],{"navigation_docs":3,"-docs-definitions-error-renderers":150,"-docs-definitions-error-renderers-surround":544},[4,23,41,99,128],{"title":5,"icon":6,"path":7,"stem":8,"children":9,"page":22},"Getting started","i-lucide-rocket","\u002Fdocs\u002Fgetting-started","docs\u002F1.getting-started",[10,14,18],{"title":11,"path":12,"stem":13},"Introduction","\u002Fdocs\u002Fgetting-started\u002Fintroduction","docs\u002F1.getting-started\u002F1.introduction",{"title":15,"path":16,"stem":17},"Quickstart","\u002Fdocs\u002Fgetting-started\u002Fquickstart","docs\u002F1.getting-started\u002F2.quickstart",{"title":19,"path":20,"stem":21},"How it works","\u002Fdocs\u002Fgetting-started\u002Fhow-it-works","docs\u002F1.getting-started\u002F3.how-it-works",false,{"title":24,"icon":25,"path":26,"stem":27,"children":28,"page":22},"Connect an app","i-lucide-plug","\u002Fdocs\u002Fconnect","docs\u002F2.connect",[29,33,37],{"title":30,"path":31,"stem":32},"Adonis","\u002Fdocs\u002Fconnect\u002Fadonis","docs\u002F2.connect\u002F1.adonis",{"title":34,"path":35,"stem":36},"NestJS","\u002Fdocs\u002Fconnect\u002Fnestjs","docs\u002F2.connect\u002F2.nestjs",{"title":38,"path":39,"stem":40},"Any stack, no SDK","\u002Fdocs\u002Fconnect\u002Fany-stack","docs\u002F2.connect\u002F3.any-stack",{"title":42,"icon":43,"path":44,"stem":45,"children":46,"page":22},"Definitions","i-lucide-code","\u002Fdocs\u002Fdefinitions","docs\u002F3.definitions",[47,51,55,59,63,67,71,75,79,83,87,91,95],{"title":48,"path":49,"stem":50},"Overview","\u002Fdocs\u002Fdefinitions\u002Foverview","docs\u002F3.definitions\u002F01.overview",{"title":52,"path":53,"stem":54},"Log renderers","\u002Fdocs\u002Fdefinitions\u002Flog-renderers","docs\u002F3.definitions\u002F02.log-renderers",{"title":56,"path":57,"stem":58},"Error renderers","\u002Fdocs\u002Fdefinitions\u002Ferror-renderers","docs\u002F3.definitions\u002F03.error-renderers",{"title":60,"path":61,"stem":62},"Processes","\u002Fdocs\u002Fdefinitions\u002Fprocesses","docs\u002F3.definitions\u002F04.processes",{"title":64,"path":65,"stem":66},"Pages","\u002Fdocs\u002Fdefinitions\u002Fpages","docs\u002F3.definitions\u002F05.pages",{"title":68,"path":69,"stem":70},"Dashboards","\u002Fdocs\u002Fdefinitions\u002Fdashboards","docs\u002F3.definitions\u002F06.dashboards",{"title":72,"path":73,"stem":74},"Alerts","\u002Fdocs\u002Fdefinitions\u002Falerts","docs\u002F3.definitions\u002F07.alerts",{"title":76,"path":77,"stem":78},"Monitors","\u002Fdocs\u002Fdefinitions\u002Fmonitors","docs\u002F3.definitions\u002F08.monitors",{"title":80,"path":81,"stem":82},"Status page","\u002Fdocs\u002Fdefinitions\u002Fstatus-page","docs\u002F3.definitions\u002F09.status-page",{"title":84,"path":85,"stem":86},"Tools","\u002Fdocs\u002Fdefinitions\u002Ftools","docs\u002F3.definitions\u002F10.tools",{"title":88,"path":89,"stem":90},"Redactors","\u002Fdocs\u002Fdefinitions\u002Fredactors","docs\u002F3.definitions\u002F11.redactors",{"title":92,"path":93,"stem":94},"Catalog","\u002Fdocs\u002Fdefinitions\u002Fcatalog","docs\u002F3.definitions\u002F12.catalog",{"title":96,"path":97,"stem":98},"More definitions","\u002Fdocs\u002Fdefinitions\u002Fmore","docs\u002F3.definitions\u002F13.more",{"title":100,"icon":101,"path":102,"stem":103,"children":104,"page":22},"Features","i-lucide-layers","\u002Fdocs\u002Ffeatures","docs\u002F4.features",[105,109,112,116,120,124],{"title":106,"path":107,"stem":108},"Tasks","\u002Fdocs\u002Ffeatures\u002Ftasks","docs\u002F4.features\u002F1.tasks",{"title":80,"path":110,"stem":111},"\u002Fdocs\u002Ffeatures\u002Fstatus-page","docs\u002F4.features\u002F2.status-page",{"title":113,"path":114,"stem":115},"Alerts and notifications","\u002Fdocs\u002Ffeatures\u002Falerts","docs\u002F4.features\u002F3.alerts",{"title":117,"path":118,"stem":119},"MCP","\u002Fdocs\u002Ffeatures\u002Fmcp","docs\u002F4.features\u002F4.mcp",{"title":121,"path":122,"stem":123},"Releases","\u002Fdocs\u002Ffeatures\u002Freleases","docs\u002F4.features\u002F5.releases",{"title":125,"path":126,"stem":127},"Ask Vigie","\u002Fdocs\u002Ffeatures\u002Fask-vigie","docs\u002F4.features\u002F6.ask-vigie",{"title":129,"icon":130,"path":131,"stem":132,"children":133,"page":22},"Self-hosting","i-lucide-server","\u002Fdocs\u002Fself-hosting","docs\u002F5.self-hosting",[134,138,142,146],{"title":135,"path":136,"stem":137},"Deploy","\u002Fdocs\u002Fself-hosting\u002Fdeploy","docs\u002F5.self-hosting\u002F1.deploy",{"title":139,"path":140,"stem":141},"Configuration","\u002Fdocs\u002Fself-hosting\u002Fconfiguration","docs\u002F5.self-hosting\u002F2.configuration",{"title":143,"path":144,"stem":145},"Security","\u002Fdocs\u002Fself-hosting\u002Fsecurity","docs\u002F5.self-hosting\u002F3.security",{"title":147,"path":148,"stem":149},"Backups and retention","\u002Fdocs\u002Fself-hosting\u002Fbackups","docs\u002F5.self-hosting\u002F4.backups",{"id":151,"title":56,"body":152,"description":538,"extension":539,"links":540,"meta":541,"navigation":216,"path":57,"seo":542,"stem":58,"__hash__":543},"docs\u002Fdocs\u002F3.definitions\u002F03.error-renderers.md",{"type":153,"value":154,"toc":536},"minimark",[155,168,446,529,532],[156,157,158,159,163,164,167],"p",{},"The best place to explain an error is where it is thrown: set ",[160,161,162],"code",{},"why"," and ",[160,165,166],{},"fix"," on the wide event. For errors you cannot change, from a library or a provider, write it in Vigie:",[169,170,176],"pre",{"className":171,"code":172,"filename":173,"language":174,"meta":175,"style":175},"language-ts shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","import { defineErrorRenderer } from 'vigie\u002Fsdk'\n\nexport const invoxa = defineErrorRenderer({\n  id: 'invoxa',\n  match: (error) => error.code.startsWith('INVOXA_'),\n  why: (error) => `Invoxa refused the call: ${error.message}.`,\n  fix: () => 'Fix the customer in Invoxa, then requeue the task from its run page.',\n  headline: () => 'Invoices are not reaching Invoxa',\n  recovered: () => 'Invoices reach Invoxa again',\n  link: () => 'https:\u002F\u002Fdocs.acme.dev\u002Finvoxa',\n})\n","definitions\u002Frenderers\u002Finvoxa.ts","ts","",[160,177,178,211,218,243,264,311,353,375,396,417,438],{"__ignoreMap":175},[179,180,183,187,191,195,198,201,204,208],"span",{"class":181,"line":182},"line",1,[179,184,186],{"class":185},"s7zQu","import",[179,188,190],{"class":189},"sMK4o"," {",[179,192,194],{"class":193},"sTEyZ"," defineErrorRenderer",[179,196,197],{"class":189}," }",[179,199,200],{"class":185}," from",[179,202,203],{"class":189}," '",[179,205,207],{"class":206},"sfazB","vigie\u002Fsdk",[179,209,210],{"class":189},"'\n",[179,212,214],{"class":181,"line":213},2,[179,215,217],{"emptyLinePlaceholder":216},true,"\n",[179,219,221,224,228,231,234,237,240],{"class":181,"line":220},3,[179,222,223],{"class":185},"export",[179,225,227],{"class":226},"spNyl"," const",[179,229,230],{"class":193}," invoxa ",[179,232,233],{"class":189},"=",[179,235,194],{"class":236},"s2Zo4",[179,238,239],{"class":193},"(",[179,241,242],{"class":189},"{\n",[179,244,246,250,253,255,258,261],{"class":181,"line":245},4,[179,247,249],{"class":248},"swJcz","  id",[179,251,252],{"class":189},":",[179,254,203],{"class":189},[179,256,257],{"class":206},"invoxa",[179,259,260],{"class":189},"'",[179,262,263],{"class":189},",\n",[179,265,267,270,272,275,279,282,285,288,291,293,295,298,300,302,305,307,309],{"class":181,"line":266},5,[179,268,269],{"class":236},"  match",[179,271,252],{"class":189},[179,273,274],{"class":189}," (",[179,276,278],{"class":277},"sHdIc","error",[179,280,281],{"class":189},")",[179,283,284],{"class":226}," =>",[179,286,287],{"class":193}," error",[179,289,290],{"class":189},".",[179,292,160],{"class":193},[179,294,290],{"class":189},[179,296,297],{"class":236},"startsWith",[179,299,239],{"class":193},[179,301,260],{"class":189},[179,303,304],{"class":206},"INVOXA_",[179,306,260],{"class":189},[179,308,281],{"class":193},[179,310,263],{"class":189},[179,312,314,317,319,321,323,325,327,330,333,336,338,340,343,346,348,351],{"class":181,"line":313},6,[179,315,316],{"class":236},"  why",[179,318,252],{"class":189},[179,320,274],{"class":189},[179,322,278],{"class":277},[179,324,281],{"class":189},[179,326,284],{"class":226},[179,328,329],{"class":189}," `",[179,331,332],{"class":206},"Invoxa refused the call: ",[179,334,335],{"class":189},"${",[179,337,278],{"class":193},[179,339,290],{"class":189},[179,341,342],{"class":193},"message",[179,344,345],{"class":189},"}",[179,347,290],{"class":206},[179,349,350],{"class":189},"`",[179,352,263],{"class":189},[179,354,356,359,361,364,366,368,371,373],{"class":181,"line":355},7,[179,357,358],{"class":236},"  fix",[179,360,252],{"class":189},[179,362,363],{"class":189}," ()",[179,365,284],{"class":226},[179,367,203],{"class":189},[179,369,370],{"class":206},"Fix the customer in Invoxa, then requeue the task from its run page.",[179,372,260],{"class":189},[179,374,263],{"class":189},[179,376,378,381,383,385,387,389,392,394],{"class":181,"line":377},8,[179,379,380],{"class":236},"  headline",[179,382,252],{"class":189},[179,384,363],{"class":189},[179,386,284],{"class":226},[179,388,203],{"class":189},[179,390,391],{"class":206},"Invoices are not reaching Invoxa",[179,393,260],{"class":189},[179,395,263],{"class":189},[179,397,399,402,404,406,408,410,413,415],{"class":181,"line":398},9,[179,400,401],{"class":236},"  recovered",[179,403,252],{"class":189},[179,405,363],{"class":189},[179,407,284],{"class":226},[179,409,203],{"class":189},[179,411,412],{"class":206},"Invoices reach Invoxa again",[179,414,260],{"class":189},[179,416,263],{"class":189},[179,418,420,423,425,427,429,431,434,436],{"class":181,"line":419},10,[179,421,422],{"class":236},"  link",[179,424,252],{"class":189},[179,426,363],{"class":189},[179,428,284],{"class":226},[179,430,203],{"class":189},[179,432,433],{"class":206},"https:\u002F\u002Fdocs.acme.dev\u002Finvoxa",[179,435,260],{"class":189},[179,437,263],{"class":189},[179,439,441,443],{"class":181,"line":440},11,[179,442,345],{"class":189},[179,444,445],{"class":193},")\n",[447,448,449,462],"table",{},[450,451,452],"thead",{},[453,454,455,459],"tr",{},[456,457,458],"th",{},"Field",[456,460,461],{},"Shown",[463,464,465,488,499,509,519],"tbody",{},[453,466,467,473],{},[468,469,470],"td",{},[160,471,472],{},"match",[468,474,475,476,479,480,479,482,163,484,487],{},"Required. Receives ",[160,477,478],{},"name",", ",[160,481,342],{},[160,483,160],{},[160,485,486],{},"attr(key)"," for any field of the event.",[453,489,490,496],{},[468,491,492,479,494],{},[160,493,162],{},[160,495,166],{},[468,497,498],{},"On the issue, the event panel and in agent answers.",[453,500,501,506],{},[468,502,503],{},[160,504,505],{},"headline",[468,507,508],{},"The sentence an alert leads with when this error is behind it.",[453,510,511,516],{},[468,512,513],{},[160,514,515],{},"recovered",[468,517,518],{},"The sentence sent when it stops.",[453,520,521,526],{},[468,522,523],{},[160,524,525],{},"link",[468,527,528],{},"A runbook or doc page.",[156,530,531],{},"The first renderer that matches wins. What the app sets on the event always comes first.",[533,534,535],"style",{},"html pre.shiki code .s7zQu, html code.shiki .s7zQu{--shiki-light:#39ADB5;--shiki-light-font-style:italic;--shiki-default:#89DDFF;--shiki-default-font-style:italic;--shiki-dark:#89DDFF;--shiki-dark-font-style:italic}html pre.shiki code .sMK4o, html code.shiki .sMK4o{--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF}html pre.shiki code .sTEyZ, html code.shiki .sTEyZ{--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}html pre.shiki code .spNyl, html code.shiki .spNyl{--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA}html pre.shiki code .s2Zo4, html code.shiki .s2Zo4{--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF}html pre.shiki code .swJcz, html code.shiki .swJcz{--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178}html pre.shiki code .sHdIc, html code.shiki .sHdIc{--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#EEFFFF;--shiki-default-font-style:italic;--shiki-dark:#BABED8;--shiki-dark-font-style:italic}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":175,"searchDepth":213,"depth":213,"links":537},[],"defineErrorRenderer writes the why, the fix and the alert headline for errors your app does not explain itself.","md",null,{},{"title":56,"description":538},"dMD7JSvfuuefnzEltoiMcjShAXmla7pCJO77yQlSI7g",[545,547],{"title":52,"path":53,"stem":54,"description":546,"children":-1},"defineLogRenderer turns a namespace of fields into a readable section, a phrase in log rows, and a sentence for agents.",{"title":60,"path":61,"stem":62,"description":548,"children":-1},"defineProcess follows one object across several tasks, with a funnel, an SLA and the instances stuck at each step.",1795043962290]