Marko
f9cce282da
gocritic (2/2) ( #3864 )
Refs #3262
5 years ago
Thane Thomson
70592cc4d8
libs/common: remove deprecated PanicXXX functions ( #3595 )
* Remove deprecated PanicXXX functions from codebase
As per discussion over
[here](https://github.com/tendermint/tendermint/pull/3456#discussion_r278423492 ),
we need to remove these `PanicXXX` functions and eliminate our
dependence on them. In this PR, each and every `PanicXXX` function call
is replaced with a simple `panic` call.
* add a changelog entry
6 years ago
Jack Zampolin
6a07f415e9
Change error output format for better SDK and Voyager UX ( #2648 )
* Change error output format
* Update tests
* 🤦
* apply suggestion
6 years ago
Dev Ojha
2756be5a59
libs: Remove usage of custom Fmt, in favor of fmt.Sprintf ( #2199 )
* libs: Remove usage of custom Fmt, in favor of fmt.Sprintf
Closes #2193
* Fix bug that was masked by custom Fmt!
6 years ago
Zach Ramsay
44dad6d70b
Revert "detele everything"
This reverts commit d02c5d1e30
.
7 years ago
Zach Ramsay
d02c5d1e30
detele everything
7 years ago
Ethan Buchman
ae3bf81833
mv tmlibs files to libs dir
7 years ago
Jae Kwon
fb7ec62b29
Fix comment
7 years ago
Jae Kwon
1b1c4cd94d
Reduce Errors T/Cause/Message into single Data
7 years ago
Jae Kwon
e328006bfe
Jae/fixprefixdb ( #199 )
* Fix PrefixDB Iterator
* PrefixDB Iterator/ReverseIterator fixes
* Bump version 0.8.2
* Update CHANGELOG.md about DebugDB
* Keep invalid source to be closed
* Use prefixBatch instead of memBatch
7 years ago
Jae Kwon
fb7bde9c24
Add cause in Error.Error()
7 years ago
Thomas Corbière
ee67e34519
Fix lint errors ( #190 )
* use increment and decrement operators.
* remove unnecessary else branches.
* fix receiver names.
* remove omittable code.
* fix dot imports.
7 years ago
Jae Kwon
87c0473730
New Error ( #180 )
* New Error can capture Stacktrace
* Intelligent ErrorWrap
* Review fixes
7 years ago
Jae Kwon
9b9a9e7f8c
Add Error Type for switching
7 years ago
Jae Kwon
99437a96fb
Add efficient implementation of fmt and use for errors.
7 years ago
Jae Kwon
bb875303c2
Add NewErrorWithCause()
7 years ago
Jae Kwon
de36bfe31c
Add TMLibs/Error from Cosmos-SDK/Error
7 years ago
Jae Kwon
988e190ef7
Deprecated Panic*
7 years ago
Zach Ramsay
d6e03d2368
linting: add to Makefile & do some fixes
7 years ago
Ethan Buchman
356657a37b
move all files to common/ to begin repo merge
8 years ago
Silas Davis
b0c0631468
Spelling
9 years ago
Jae Kwon
16372365c4
First commit
9 years ago