Update comment on usage of sdkErrors

This commit is contained in:
Jae Kwon 2017-12-21 17:56:57 -08:00
parent 5c06e56c24
commit 62f736fbd0
1 changed files with 1 additions and 4 deletions

View File

@ -96,10 +96,7 @@ func NewABCIError(code uint32, log string) ABCIError {
} }
``` ```
Then, to get the ABCI code/log: Then, to get the ABCI code/log, use ABCIErrorCause()
1. Check if err.(ABCIError)
2. Check if err.(causer).Cause().(ABCIError)
*/ */
type sdkError struct { type sdkError struct {