cleanup: E_Base should not be used for inheriting exceptions; documentation generator generates dependencies section

This commit is contained in:
Araq 2011-01-15 23:57:19 +01:00
commit fa111b9067
17 changed files with 60 additions and 370 deletions

View file

@ -12,8 +12,9 @@
import streams, parsexml, strtabs, xmltree
type
EInvalidXml* = object of E_Base ## exception that is raised for invalid XML
errors*: seq[string] ## all detected parsing errors
EInvalidXml* = object of EInvalidValue ## exception that is raised
## for invalid XML
errors*: seq[string] ## all detected parsing errors
proc raiseInvalidXml(errors: seq[string]) =
var e: ref EInvalidXml