Exception: KubernetesDeploy::InvalidTemplateError
- Inherits:
-
FatalDeploymentError
- Object
- StandardError
- FatalDeploymentError
- KubernetesDeploy::InvalidTemplateError
- Defined in:
- lib/kubernetes-deploy/errors.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#content ⇒ Object
readonly
Returns the value of attribute content.
-
#filename ⇒ Object
Returns the value of attribute filename.
Instance Method Summary collapse
-
#initialize(err, filename: nil, content: nil) ⇒ InvalidTemplateError
constructor
A new instance of InvalidTemplateError.
Constructor Details
#initialize(err, filename: nil, content: nil) ⇒ InvalidTemplateError
Returns a new instance of InvalidTemplateError.
11 12 13 14 15 |
# File 'lib/kubernetes-deploy/errors.rb', line 11 def initialize(err, filename: nil, content: nil) @filename = filename @content = content super(err) end |
Instance Attribute Details
#content ⇒ Object (readonly)
Returns the value of attribute content.
9 10 11 |
# File 'lib/kubernetes-deploy/errors.rb', line 9 def content @content end |
#filename ⇒ Object
Returns the value of attribute filename.
10 11 12 |
# File 'lib/kubernetes-deploy/errors.rb', line 10 def filename @filename end |