Adds a synthesis error annotation to a construct.
The construct to annotate
The error message
if (!isValid) { addSynthError(this, 'Configuration is invalid');} Copy
if (!isValid) { addSynthError(this, 'Configuration is invalid');}
Adds a synthesis error annotation to a construct.