diff options
author | Teddy <ted.sybil@gmail.com> | 2013-08-17 16:49:43 +0800 |
---|---|---|
committer | Teddy <ted.sybil@gmail.com> | 2013-08-17 16:49:43 +0800 |
commit | 3b0217d2a2d4e345a31a68948dfb0feaec4a8a2a (patch) | |
tree | a6e0a819e7d9fbe24fc7aff42704e8a59fc7ac8f /exc.h | |
parent | f9633b0bef26184c5e36eba25d8b3b6bd687ee18 (diff) |
more doc
Diffstat (limited to 'exc.h')
-rw-r--r-- | exc.h | 10 |
1 files changed, 9 insertions, 1 deletions
@@ -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); }; |