ValidationError

class aws_cdk.core.ValidationError(*, message, source)

Bases: object

__init__(*, message, source)

An error returned during the validation phase.

Parameters
  • message (str) – The error message.

  • source (Construct) – The construct which emitted the error.

Attributes

message

The error message.

Return type

str

source

The construct which emitted the error.

Return type

Construct