SynthIssue class sealed
One reason a Stack cannot be synthesized.
Stack.synth() and Stack.writeTo() check the whole Stack first and
throw one SynthException listing every issue; Stack.validate()
returns them without throwing. Each subtype carries the facts a test
can match on:
for (final issue in stack.validate()) {
switch (issue) {
case UnregisteredReference(:final address, :final target):
print('$address reads $target, which was never added');
default:
print(issue);
}
}
- Annotations
-
- @immutable
Properties
- address → String
-
Where the problem is: the Terraform address of the block that holds
it (
google_pubsub_subscription.push,module.sa,output.topic_id,provider.google,moved,constant.ordersTopic).no setter - hashCode → int
-
The hash code for this object.
no setterinherited
- message → String
-
What is wrong and how to fix it, in one paragraph.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited