Skip to content

[F] getLroErrorResult

function getLroErrorResult(
program,
entity,
useDefault): [undefined | ModelProperty, 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

[undefined | ModelProperty, readonly Diagnostic[]]