Exception: VerilogTools::FileError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/HDLRuby/verilog_parser.rb

Overview

The class describing errors in files.

Instance Method Summary collapse

Constructor Details

#initialize(error, lpos) ⇒ FileError

Create a new file error at line +lpos+ with sub error +error+.



87
88
89
# File 'lib/HDLRuby/verilog_parser.rb', line 87

def initialize(error,lpos)
  super("File error from line #{lpos}: #{error}")
end