AzuCLI::Validators::JinjaValidator::ValidationResult
Inherits Reference < Object
Validation result containing errors and warnings
Constructors
new(errors : Array(ValidationError) = [] of ValidationError, warnings : Array(ValidationError) = [] of ValidationError)
SourceInstance methods
add_error(error : ValidationError)
Sourceadd_warning(warning : ValidationError)
Sourceerrors
Sourceto_s
Returns a nicely readable and concise string representation of this object, typically intended for users.
This method should usually not be overridden. It delegates to
#to_s(IO) which can be overridden for custom implementations.
Also see #inspect.
valid
Sourcewarnings
Source