@zarpay/zar-cdk-lib - v0.32.0
    Preparing search index...

    Function addSynthError

    • Adds a synthesis error annotation to a construct.

      Parameters

      • scope: Construct

        The construct to annotate

      • message: string

        The error message

      Returns void

      if (!isValid) {
      addSynthError(this, 'Configuration is invalid');
      }