Skip to content

[F] getLroErrorResult

function getLroErrorResult(
program,
entity,
useDefault): [ModelProperty | undefined, readonly Diagnostic[]]

Gets the error result property from a StatusMonitor

Parameters

ParameterTypeDefault valueDescription
programProgramundefinedThe program to process.
entityModelundefinedThe StatusMonitor model to process.
useDefaultbooleantrueUse the default error property if no other property is marked. (defaults to true)

Returns

[ModelProperty | undefined, readonly Diagnostic[]]