Validation Error
Sealed class representing the different types of validation errors that can occur when checking environment configurations against a schema.
Inheritors
Types
Link copied to clipboard
data class InvalidEnvironment(val environmentName: String, val validEnvironments: List<String>) : ValidationError
The active environment name does not match any declared environment in the schema.
Link copied to clipboard
A global-scoped variable has no default value in the schema and is absent from the global values file.
Link copied to clipboard
An environment-scoped variable is missing from an environment file and has no default value in the schema.
Link copied to clipboard
data class TypeMismatch(val variableName: String, val expectedType: SchemaType, val actualValue: String, val environmentName: String?) : ValidationError
A variable's value does not parse as its declared type.