mirror of
https://github.com/tendermint/tendermint.git
synced 2026-09-07 16:47:07 +00:00
RetCodeEncodingError
This commit is contained in:
@@ -13,6 +13,7 @@ const (
|
||||
RetCodeUnauthorized RetCode = 2
|
||||
RetCodeInsufficientFees RetCode = 3
|
||||
RetCodeUnknownRequest RetCode = 4
|
||||
RetCodeEncodingError RetCode = 5
|
||||
)
|
||||
|
||||
func (r RetCode) Error() error {
|
||||
|
||||
@@ -4,9 +4,9 @@ package types
|
||||
|
||||
import "fmt"
|
||||
|
||||
const _RetCode_name = "RetCodeOKRetCodeInternalErrorRetCodeUnauthorizedRetCodeInsufficientFeesRetCodeUnknownRequest"
|
||||
const _RetCode_name = "RetCodeOKRetCodeInternalErrorRetCodeUnauthorizedRetCodeInsufficientFeesRetCodeUnknownRequestRetCodeEncodingError"
|
||||
|
||||
var _RetCode_index = [...]uint8{0, 9, 29, 48, 71, 92}
|
||||
var _RetCode_index = [...]uint8{0, 9, 29, 48, 71, 92, 112}
|
||||
|
||||
func (i RetCode) String() string {
|
||||
if i < 0 || i+1 >= RetCode(len(_RetCode_index)) {
|
||||
|
||||
Reference in New Issue
Block a user