Commit Graph

7 Commits

Author SHA1 Message Date
38726769b4 terror: new implementation. 2015-11-05 19:15:49 +08:00
c6c74b6d6b terror: address comment and add update class String method. 2015-11-05 12:26:59 +08:00
83ac08b9bf terror: address comment. 2015-11-05 12:21:58 +08:00
0943aa598e terror: unify util/errors and util/errors2 in terror. 2015-11-05 12:05:16 +08:00
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