Fluxion::DiagnosticCollector
Accumulates diagnostics in the order they are found. Validation reports every problem in one pass rather than aborting at the first, because a profile with five typos should take one run to fix, not five.
Constructors
new
SourceInstance methods
<<(diagnostic : Diagnostic) : Nil
Sourcediagnostics
Sourceempty?
Sourceerrors
Sourceerrors?
SourceRaises with everything collected so far when any diagnostic is an error.
strict also fails on warnings, backing validate --strict.
warning(path : String, message : String, hint : String | Nil = nil, rule : String | Nil = nil) : Nil
Sourcewarnings
Source