class Puppet::Pops::SemanticError

Error that is used to raise an Issue. See {Puppet::Pops::Issues}.

Attributes

issue[RW]
options[RW]
semantic[RW]

Public Class Methods

new(issue, semantic=nil, options = {}) click to toggle source

@param issue [Puppet::Pops::Issues::Issue] the issue describing the severity and message @param semantic [Puppet::Pops::Model::Locatable, nil] the expression causing the failure, or nil if unknown @param options [Hash] an options hash with Symbol to value mapping - these are the arguments to the issue

# File lib/puppet/pops/semantic_error.rb, line 12
def initialize(issue, semantic=nil, options = {})
  @issue = issue
  @semantic = semantic
  @options = options
end