class
AzuCLI::Validators::JinjaValidator::ValidationResult
- AzuCLI::Validators::JinjaValidator::ValidationResult
- Reference
- Object
Overview
Validation result containing errors and warnings
Defined in:
azu_cli/validators/jinja_validator.crConstructors
Instance Method Summary
- #add_error(error : ValidationError)
- #add_warning(warning : ValidationError)
- #errors : Array(ValidationError)
-
#to_s : String
Returns a nicely readable and concise string representation of this object, typically intended for users.
- #valid : Bool
- #warnings : Array(ValidationError)
Constructor Detail
def self.new(errors : Array(ValidationError) = [] of ValidationError, warnings : Array(ValidationError) = [] of ValidationError)
#
Instance Method Detail
def to_s : String
#
Description copied from class Object
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.