Sha256: 0f5ccae1b0ace3c9b72769c8c72711f54343515aaf4f85ade07b93658ad78996

Contents?: true

Size: 386 Bytes

Versions: 1

Compression:

Stored size: 386 Bytes

Contents

module WLang
  
  # Main error of all WLang errors.
  class Error < StandardError; end
  
  # Raise when something fails when evaluting through the parser context
  class EvalError < StandardError; end
  
  # Error raised by a WLang parser instanciation when an error occurs. 
  class ParseError < StandardError;  
    
    attr_accessor :line, :column
    
  end
  
end # module WLang

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
wlang-0.8.5 lib/wlang/errors.rb