Class: K8y::REST::ConfigValidator::ValidationError

Inherits:
Error
  • Object
show all
Defined in:
lib/k8y/rest/config_validator.rb

Instance Method Summary collapse

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