ArchAstro. Types. ValidationResult
(archastro v0.2.0)
Copy Markdown
The result of a configuration validation check, indicating whether the config is valid and listing any errors or warnings.
Summary
Types
@type t() :: %ArchAstro.Types.ValidationResult{ errors: [String.t()] | ArchAstro.Unset.t(), valid: boolean(), warnings: [String.t()] | ArchAstro.Unset.t() }
Functions
@spec from_map(ArchAstro.JSON.object()) :: t()
@spec matches?(ArchAstro.JSON.t()) :: boolean()
@spec to_map(t()) :: ArchAstro.JSON.object()