Table of Contents

Interface IValidationError

Namespace
Amazon.CDK
Assembly
Amazon.CDK.dll

An error returned during the validation phase.

public interface IValidationError

Examples

// The code below shows an example of how to instantiate this type.
            // The values are placeholders you should change.
            using Amazon.CDK;

            Construct construct;
            var validationError = new ValidationError {
                Message = "message",
                Source = construct
            };

Remarks

ExampleMetadata: fixture=_generated

Properties

Message

The error message.

string Message { get; }

Property Value

string

Source

The construct which emitted the error.

Construct Source { get; }

Property Value

Construct