Class ValidationError
An error returned during the validation phase.
Inheritance
System.Object
ValidationError
Implements
Namespace: Amazon.CDK
Assembly: Amazon.CDK.dll
Syntax (csharp)
public class ValidationError : Object, IValidationError
Syntax (vb)
Public Class ValidationError
Inherits Object
Implements IValidationError
Remarks
ExampleMetadata: fixture=_generated
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
};
Synopsis
Constructors
ValidationError() |
Properties
Message | The error message. |
Source | The construct which emitted the error. |
Constructors
ValidationError()
public ValidationError()
Properties
Message
The error message.
public string Message { get; set; }
Property Value
System.String
Source
The construct which emitted the error.
public Construct Source { get; set; }
Property Value