From 3b0217d2a2d4e345a31a68948dfb0feaec4a8a2a Mon Sep 17 00:00:00 2001 From: Teddy Date: Sat, 17 Aug 2013 16:49:43 +0800 Subject: more doc --- exc.h | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'exc.h') diff --git a/exc.h b/exc.h index dc380d3..491ec23 100644 --- a/exc.h +++ b/exc.h @@ -19,13 +19,21 @@ class GeneralError { string get_msg(); /**< Get the error message */ }; +/** @class TokenError + * Error with some hints + */ class TokenError : public GeneralError { public: - TokenError(string token, ErrCode code); /**< Construct an TokenError */ + /** Construct an TokenError */ + TokenError(string token, ErrCode code); }; +/** @class NormalError + * Error with constant plain text + */ class NormalError : public GeneralError { public: + /** Construct a NormalError */ NormalError(ErrCode code); }; -- cgit v1.2.3