ConfigException
Sealed class representing configuration-related exceptions.
Inheritors
Types
Link copied to clipboard
data class EnvironmentVariableNotSetException(variable: String, val message: String = "Environment variable [") : ConfigException
Exception thrown when an environment variable is not set.
Link copied to clipboard
data class InvalidYamlMapKeyException(key: String, expected: String, val message: String = "Invalid type for key [") : ConfigException
Exception thrown when a YAML map key has an invalid type.
Link copied to clipboard
data class YamlMapKeyNotSetException(key: String, val message: String = "YAML map key [") : ConfigException
Exception thrown when a YAML map key value is not set.
Link copied to clipboard
data class YamlSectionNotFoundException(sectionName: String, val message: String = "Section [") : ConfigException
Exception thrown when a section is not found in a YAML file.