Class ValidationError
An error returned during the validation phase.
public class ValidationError : IValidationError
- Inheritance
-
ValidationError
- Implements
- Inherited Members
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
Constructors
ValidationError()
public ValidationError()
Properties
Message
The error message.
public string Message { get; set; }
Property Value
Source
The construct which emitted the error.
public Construct Source { get; set; }