ArchitectureViolationException class

Thrown by expectArchitecture when the project breaks its rules.

Implemented types

Constructors

ArchitectureViolationException(List<String> failures, ArchAnalysis analysis)
Creates the exception for failures found by analysis.
const

Properties

analysis → ArchAnalysis
The full analysis, for custom reporting.
final
failures → List<String>
One line per problem (see ArchAnalysis.failures).
final
hashCode → int
The hash code for this object.
no setterinherited
message → String
Human-readable summary, shown by the test runner.
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

Constants

maxListed → const int
Most problems listed in message; the rest are counted.