lib/kubernetes-deploy.rb in kubernetes-deploy-0.5.0 vs lib/kubernetes-deploy.rb in kubernetes-deploy-0.6.0

- old
+ new

@@ -8,7 +8,14 @@ require 'kubernetes-deploy/logger' require 'kubernetes-deploy/runner' module KubernetesDeploy class FatalDeploymentError < StandardError; end + + class NamespaceNotFoundError < FatalDeploymentError + def initialize(name, context) + super("Namespace `#{name}` not found in context `#{context}`. Aborting the task.") + end + end + include Logger end