package
Version:
v0.8.2
Opens a new window with list of versions in this module.
Published: Jan 25, 2019
License: Apache-2.0
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Copyright 2017-2018 OneLedger
Common errors across the entire system
TODO: Code should be a real type, so that String really works?
func (code Code) String() string {
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
)
Source Files
¶
Click to show internal directories.
Click to hide internal directories.