Creates a result catalog and optionally copies entries from an existing catalog.
Optionalsource: IResultCatalogStatic ReadonlyglobalShared global catalog instance for simple application-wide registration.
Replaces the current entries with the contents of another catalog.
Registers or replaces a single code definition.
Removes all registered entries from the catalog.
Returns every registered result code.
Returns the stored definition for a code.
The returned object is cloned so callers can read it safely without mutating the catalog.
Resolves a code to a localized single result.
The selected language is used first, and then default is used as a fallback
when present in the stored translation map.
Stores validation result code definitions and resolves localized messages.
Use a catalog to keep reusable hint, warning, and error messages separate from individual checks. A catalog can then be supplied through check options or result options when you want messages resolved from result codes.