Class: K8y::REST::ConfigValidator::ValidationError
- Defined in:
- lib/k8y/rest/config_validator.rb
Instance Method Summary collapse
-
#initialize(validation_errors) ⇒ ValidationError
constructor
A new instance of ValidationError.
Constructor Details
#initialize(validation_errors) ⇒ ValidationError
Returns a new instance of ValidationError.
7 8 9 10 |
# File 'lib/k8y/rest/config_validator.rb', line 7 def initialize(validation_errors) super @message = "Kubeconfig validation failed with the following errors: " + validation_errors.join(",") end |