---
canonical_url: "https://nostics.dev"
---
<u-page-hero>
<template v-slot:headline="">
<logo className="mx-auto,h-20,mb-6">



</logo>
</template>

<template v-slot:title="">

Errors worth reading

</template>

<template v-slot:description="">
<span className="font-mono">

nostics

</span>

 helps library authors replace ad hoc error strings with stable codes, actionable fixes, docs links, and structured `Diagnostic` objects.

<div className="diag-hero">
<diagnostic log="[NUXT_B2011] Plugin `./runtime/analytics.server.ts` has mode `client`.
├▶ fix: Rename the file or register it with mode `server`.
├▶ sources: modules/analytics.ts:18:5
╰▶ see: https://nuxt.com/e/b2011
">



</diagnostic>
</div>
</template>

<template v-slot:links="">
<u-button color="primary" size="xl" to="https://nostics.dev/getting-started/quick-start" trailing-icon="i-lucide-arrow-right">

Quick start

</u-button>

<u-button color="neutral" size="xl" to="https://github.com/vercel-labs/nostics" icon="simple-icons-github" variant="outline">

GitHub

</u-button>
</template>
</u-page-hero>

<u-page-section>
<template v-slot:headline="">
<span className="section-eyebrow">

What it gives you

</span>
</template>

<template v-slot:features="">
<u-page-feature icon="i-lucide-hash" className="dev-card">
<template v-slot:title="">

Stable codes

</template>

<template v-slot:description="">

Give every known problem a permanent code like `NUXT_B2011`. Users can search it, docs can link to it, and your wording can improve without breaking the identifier.

</template>
</u-page-feature>

<u-page-feature icon="i-lucide-check-circle" className="dev-card">
<template v-slot:title="">

Actionable fixes

</template>

<template v-slot:description="">

Put the next step next to the error. The default formatter renders the message, fix, source locations, and docs URL in one compact block.

</template>
</u-page-feature>

<u-page-feature icon="i-lucide-braces" className="dev-card">
<template v-slot:title="">

Typed params

</template>

<template v-slot:description="">

Use functions for dynamic messages and fixes. TypeScript requires the right params wherever you report the diagnostic.

</template>
</u-page-feature>

<u-page-feature icon="i-lucide-share-2" className="dev-card">
<template v-slot:title="">

Reporters

</template>

<template v-slot:description="">

Log to the console, append NDJSON to a file, POST to an endpoint, or write your own reporter.

</template>
</u-page-feature>

<u-page-feature icon="i-lucide-scissors" className="dev-card">
<template v-slot:title="">

Production stripping

</template>

<template v-slot:description="">

Use the build plugin to remove report-only diagnostics and their catalog text from production bundles.

</template>
</u-page-feature>

<u-page-feature icon="i-lucide-terminal" className="dev-card">
<template v-slot:title="">

Vite dev collection

</template>

<template v-slot:description="">

Forward browser diagnostics to a local log file during Vite dev when the browser console is not enough.

</template>
</u-page-feature>
</template>
</u-page-section>

<u-page-section>
<template v-slot:headline="">
<span className="section-eyebrow">

Start here

</span>
</template>

<template v-slot:features="">
<u-page-feature icon="i-lucide-rocket" to="https://nostics.dev/getting-started/quick-start">
<template v-slot:title="">

Quick start

</template>

<template v-slot:description="">

Install the package, define two codes, and report your first diagnostic.

</template>
</u-page-feature>

<u-page-feature icon="i-lucide-list-tree" to="https://nostics.dev/guide/defining-diagnostics">
<template v-slot:title="">

Guide

</template>

<template v-slot:description="">

Learn the catalog shape, params, docs URLs, sources, causes, reporters, and build plugins.

</template>
</u-page-feature>

<u-page-feature icon="i-lucide-file-code" to="https://nostics.dev/api/reference">
<template v-slot:title="">

API reference

</template>

<template v-slot:description="">

Check imports, option names, reporter signatures, formatter shapes, and plugin options.

</template>
</u-page-feature>
</template>
</u-page-section>

## Resources for Agents

- [API catalog: every service document this site publishes](https://nostics.dev/.well-known/api-catalog)
- [Sitemap (XML)](https://nostics.dev/sitemap.xml)
- [Sitemap (Markdown): every page on the site](https://nostics.dev/sitemap.md)
- [MCP server card: MCP endpoint at https://nostics.dev/mcp](https://nostics.dev/.well-known/mcp/server-card.json)
- [MCP endpoint (streamable HTTP)](https://nostics.dev/mcp)
- [llms.txt: index of the documentation for LLMs](https://nostics.dev/llms.txt)
- [llms-full.txt: the full documentation as a single file](https://nostics.dev/llms-full.txt)
- [OpenAPI document: every route this site serves to agents](https://nostics.dev/openapi.json)


## Sitemap

See the full [sitemap](https://nostics.dev/sitemap.md) for all pages.
