Validation result for a configuration setting

ValidationResult

interface ValidationResult {
    isValid: boolean;
    message?: string;
    suggestion?: any;
}

Properties

isValid: boolean

Whether the configuration setting is valid.

message?: string

The error message if the setting is invalid.

suggestion?: any

The suggested value for the setting.