index/interfaces/GalaErrorCatalogEntry.md
One catalog entry (of this catalog, or of a product SDK's own catalog).
Properties
| Property | Modifier | Type | Description |
|---|---|---|---|
params | readonly | Readonly<Record<string, GalaErrorParamKind>> | Param name to kind. Every param is required and appears in the template, except unrendered. |
phase | readonly | "pre_send" | "in_flight" | "post_send" | The phase this code is thrown in, unless a throw site says otherwise (see GalaErrorPhase). |
template | readonly | string | English message template with {placeholder} markers. |
unrendered? | readonly | readonly string[] | Params that are carried for the app but deliberately NOT placeholders of the template. Used for serverMessage on the codes whose failing answer may be anything (a proxy's page, a validation list): the server's text is data for the app to relay or ignore, and keeping it out of message means it cannot reach a log line or a user interface by accident. |
gala error param kind pre send in flight post server message