cleanup: E_Base should not be used for inheriting exceptions; documentation generator generates dependencies section
This commit is contained in:
parent
25d41f2f9a
commit
fa111b9067
17 changed files with 60 additions and 370 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue