Exception: Puppet::Pops::SemanticError
- Defined in:
- lib/puppet/pops/semantic_error.rb
Overview
Error that is used to raise an Issue. See Issues.
Instance Attribute Summary collapse
Instance Method Summary collapse
-
#initialize(issue, semantic = nil, options = {}) ⇒ SemanticError
constructor
A new instance of SemanticError.
Constructor Details
#initialize(issue, semantic = nil, options = {}) ⇒ SemanticError
Returns a new instance of SemanticError.
12 13 14 15 16 |
# File 'lib/puppet/pops/semantic_error.rb', line 12 def initialize(issue, semantic=nil, = {}) @issue = issue @semantic = semantic @options = end |
Instance Attribute Details
#semantic ⇒ Object
5 6 7 |
# File 'lib/puppet/pops/semantic_error.rb', line 5 def semantic @semantic end |