status

package
v0.8.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 25, 2019 License: Apache-2.0 Imports: 0 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Copyright 2017-2018 OneLedger

Common errors across the entire system

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func String added in v0.7.1

func String(code Code) string

TODO: Code should be a real type, so that String really works? func (code Code) String() string {

Types

type Code

type Code = uint32 // Alias to match Tendermint status
const (
	SUCCESS           Code = 0
	INVALID           Code = 101
	INVALID_SIGNATURE Code = 102
	PARSE_ERROR       Code = 201
	NOT_IMPLEMENTED   Code = 301
	MISSING_VALUE     Code = 401
	EXPAND_ERROR      Code = 501
	DUPLICATE         Code = 601
	MISSING_DATA      Code = 701
	BAD_VALUE         Code = 801
	EXECUTE_ERROR     Code = 901
)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL