Exception: KubernetesDeploy::InvalidTemplateError

Inherits:
FatalDeploymentError show all
Defined in:
lib/kubernetes-deploy/errors.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(err, filename: nil, content: nil) ⇒ InvalidTemplateError

Returns a new instance of InvalidTemplateError.



9
10
11
12
13
# File 'lib/kubernetes-deploy/errors.rb', line 9

def initialize(err, filename: nil, content: nil)
  @filename = filename
  @content = content
  super(err)
end

Instance Attribute Details

#contentObject (readonly)

Returns the value of attribute content.



7
8
9
# File 'lib/kubernetes-deploy/errors.rb', line 7

def content
  @content
end

#filenameObject

Returns the value of attribute filename.



8
9
10
# File 'lib/kubernetes-deploy/errors.rb', line 8

def filename
  @filename
end