Skip to content

API ReferenceErrorsVariable

LEGACY\_CODE\_MAP

const LEGACY_CODE_MAP: Record<string, ValidationErrorCode>;

Maps old per-operation error code strings to the new canonical ValidationErrorCode values.

All codes reachable via validateXxxDirect paths must be listed here. Codes with no entry here fall back to the consumer’s generic failure message; add missing codes to restore specific messaging.