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

@ -52,13 +52,13 @@ type
headers: PStringTable,
body: string]
EInvalidProtocol* = object of EBase ## exception that is raised when server
## does not conform to the implemented
## protocol
EInvalidProtocol* = object of ESynch ## exception that is raised when server
## does not conform to the implemented
## protocol
EHttpRequestErr* = object of EBase ## Thrown in the ``getContent`` proc
## and ``postContent`` proc,
## when the server returns an error
EHttpRequestErr* = object of ESynch ## Thrown in the ``getContent`` proc
## and ``postContent`` proc,
## when the server returns an error
proc httpError(msg: string) =
var e: ref EInvalidProtocol