# causaly/zod-validation-error

Wrap zod validation errors in user-friendly readable messages

Repository: https://github.com/causaly/zod-validation-error
Canonical: https://ross.abutalabs.com/products/zod-validation-error
Language: TypeScript
License: MIT
License Family: permissive
Last push: 2026-08-24T06:42:32+00:00

## Health v2 (maintenance only)
Score: 80/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 99, release rhythm 43, longevity 100
- inputs: {"age_days": 1464, "days_push": 9, "days_rel": 303, "gap_med": 34, "n_releases_24m": 10}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1022, forks 16 (observed 2026-08-28T04:03:16.102030+00:00)

## What it is
A TypeScript library that wraps Zod validation errors in user-friendly, readable messages while preserving original error details. It supports both Zod v3 and v4 and offers a custom error map for improved message formatting.

## Use cases
- turn zod validation errors into readable messages
- show user-friendly form validation errors
- expose validation errors in an API response
- customize zod error messages with an error map
- keep original zod error details for debugging

## When to choose
- you use Zod for schema validation and need end-user-friendly error output
- you want to return validation errors to clients without exposing raw internals
- you need a drop-in error map for Zod v3 or v4

## When to avoid
- you don't use Zod for validation
- you need a full form-handling or validation library rather than error formatting

## Facets
- artifact type: library
- maturity: active
- function: error-handling, form-handling, serialization
- domain: developer-tools, web-development, backend, frontend
- platform: -
- tags: zod, validation-errors, error-messages, schema-validation, nodejs, typescript

## Member repositories
- causaly/zod-validation-error (main) score 80

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:16.102030+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T07:08:42.555272+00:00, confidence not recorded.
  - readme: https://github.com/causaly/zod-validation-error (fetched 2026-08-28T04:03:16.102030+00:00, sha 876516400e44)
  - registry_npm: https://registry.npmjs.org/zod-validation-error (fetched 2026-08-29T13:08:58.725381+00:00, sha 80560fa9ed22)
- Data as of 2026-08-30T08:39:29.467469+00:00.
