Skip to main content

index/interfaces/GalaErrorCatalogEntry.md

One catalog entry (of this catalog, or of a product SDK's own catalog).

Properties​

PropertyModifierTypeDescription
paramsreadonlyReadonly<Record<string, GalaErrorParamKind>>Param name to kind. Every param is required and appears in the template, except unrendered.
phasereadonly"pre_send" | "in_flight" | "post_send"The phase this code is thrown in, unless a throw site says otherwise (see GalaErrorPhase).
templatereadonlystringEnglish message template with {placeholder} markers.
unrendered?readonlyreadonly 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.