Skip to content

AlpyneDefinitionAccessMissingError

Raised when a PRN is well-formed but names an App or Template that the Definition does not contain.

new AlpyneDefinitionAccessMissingError(type, prn, message?, options?): AlpyneDefinitionAccessMissingError

"template" | "app"

Which lookup failed.

string

The PRN whose lookup failed.

string

Human-readable explanation.

ErrorOptions

Standard error options, such as cause.

AlpyneDefinitionAccessMissingError

AlpyneDefinitionAccessError.constructor

readonly code: "definition-missing" = 'definition-missing'

Discriminator for this error kind.


readonly prn: string

The PRN whose lookup failed.

AlpyneDefinitionAccessError.prn


readonly type: "template" | "app"

Which lookup failed: the App named by the PRN, or the Template within that App.