AlpyneDefinitionAccessIncorrectTypeError
Raised when a PRN parses to a resource other than the one requested, for example a Mutation PRN
passed to template.
Extends
Section titled “Extends”Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new AlpyneDefinitionAccessIncorrectTypeError(
type,prn,message?,options?):AlpyneDefinitionAccessIncorrectTypeError
Parameters
Section titled “Parameters”string
Resource type the PRN named.
string
The PRN whose lookup failed.
message?
Section titled “message?”string
Human-readable explanation.
options?
Section titled “options?”ErrorOptions
Standard error options, such as cause.
Returns
Section titled “Returns”AlpyneDefinitionAccessIncorrectTypeError
Overrides
Section titled “Overrides”AlpyneDefinitionAccessError.constructor
Properties
Section titled “Properties”
readonlycode:"incorrect-type"='incorrect-type'
Discriminator for this error kind.
readonlyprn:string
The PRN whose lookup failed.
Inherited from
Section titled “Inherited from”AlpyneDefinitionAccessError.prn
readonlytype:string
Resource type the PRN named, or 'invalid' when it did not parse as a PRN.

