MoroJSoro JS
DocsBenchmarksPlaygroundMigrate
GitHubGet started

Technical

API Reference & Architecture

DocsCLITechnical

Docs for @morojs/moro v1.8.0

Technical
API
Functions
NormalizeErrors

@morojs/moro


@morojs/moro / normalizeErrors

Function: normalizeErrors()

normalizeErrors(errors, field): ValidationErrorDetailType[]

Defined in: src/core/validation/error-handler.ts:110

Normalize errors from different validation libraries into a consistent format

Parameters

errors

any[]

field

string

Returns

ValidationErrorDetailType[]

Back to normalizeErrorsView Source
MoroJSoro JS

A TypeScript backend framework with its own native engine. Zero dependencies, four runtimes.

Product

DocsBenchmarksPlaygroundCLIBlog

Compare

vs ExpressMigration guidesRoadmap

Community

GitHubDiscordXExamples

Legal

PrivacyTermsAbout
© CM Ventures, Inc. Built withfor the TypeScript community.