class

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)
Source

Instance methods

add_error(error : ValidationError)
Source
add_warning(warning : ValidationError)
Source
errors
Source
to_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.

Source
valid
Source
warnings
Source