Skip to content

ValidationError

An error returned during the validation phase.

Initializer

import com.aliyun.ros.cdk.core.ValidationError;
ValidationError.builder()
    .message(java.lang.String)
    .source(Construct)
    .build();

Properties

Name Type Description
message java.lang.String The error message.
source Construct The construct which emitted the error.

messageRequired

public java.lang.String getMessage();
  • Type: java.lang.String

The error message.


sourceRequired

public Construct getSource();

The construct which emitted the error.


Classes