class Pione::Lang::CircularReferenceError

CircularReferenceError is raised when variable or rule reference loop was deteced.

Public Class Methods

new(ref) click to toggle source
# File lib/pione/lang/lang-exception.rb, line 131
def initialize(ref)
  @ref = ref
end

Public Instance Methods

message() click to toggle source
# File lib/pione/lang/lang-exception.rb, line 135
def message
  "reference of %s in package &%s made loop%s" % [name, @ref.package_id, @ref.pos.format]
end