Skip to main content

Type Alias: CodedError

CodedError = Error & object

Defined in: i18n.ts:41

An error carrying a stable code but no messageRef — what a package that holds no copy throws, with the data its message needs in values.

Type Declaration​

code​

code: string

values?​

optional values?: Record<string, unknown>