errorcode

package
v0.0.0-...-863773a Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2016 License: Apache-2.0 Imports: 1 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

Index

Constants

This section is empty.

Variables

View Source
var (
	ERR_DB_SESSION_IS_NIL              = errors.T(11001, "db session is nil")
	ERR_DB_TX_ALREADY_BEGINED          = errors.T(11002, "transaction already begin")
	ERR_DB_NOT_A_TX                    = errors.T(11003, "non-tx could not be commit")
	ERR_DB_IS_A_TX                     = errors.T(11004, "is-tx could not be commit")
	ERR_DB_TX_COMMIT_ERROR             = errors.T(11005, "commit error")
	ERR_DB_TX_NOFUNC                   = errors.T(11006, "not a function")
	ERR_DB_TX_CANNOT_BEGIN             = errors.T(11007, "could not begin an transaction")
	ERR_DB_ONE_REPO_AT_LEAST           = errors.T(11008, "input one repo at least")
	ERR_STRUCT_NOT_COMBINE_WITH_DBREPO = errors.T(11009, "your db repository struct should combine with DBRepo")
	ERR_CAN_NOT_REFLACT_NEW_REPO       = errors.T(11010, "create new repo error")
	ERR_DB_IS_NIL                      = errors.T(11011, "xorm Db is nil")
	ERR_CAN_NOT_CONV_TO_NO_TX          = errors.T(11012, "could not convert TX to NON-TX")
	ERR_CREATE_ENGINE_FAILED           = errors.T(11013, "create engine {{.engineName}} failed")
)

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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