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.
Click to show internal directories.
Click to hide internal directories.