Commit Graph

3 Commits

Author SHA1 Message Date
0fab139acb terror: address comment. 2015-11-04 19:01:31 +08:00
c9ca685e19 terror: address comment. 2015-11-04 09:59:28 +08:00
2957a4a9e1 terror: create a new error type that has class and code for comparison.
The current error check can only handle errors that has exactly the same message, when error message is not constant.

For example parsing error has the message describe the context of the error.

With this error type, we can includes context information in the message and still able to check the error type.
2015-11-03 18:26:04 +08:00