Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrNotFoundDefaultDatabase = errors.TN(_namespace, 20000, "not found default database") ErrAtLeastOneRepo = errors.TN(_namespace, 20001, "input one repo at least") ErrNotFoundTransationFunction = errors.TN(_namespace, 20002, "not found transation function") ErrStructCombineWithRepo = errors.TN(_namespace, 20003, "your repository struct should combine with {{.name}} repo") ErrFailToCreateRepo = errors.TN(_namespace, 20004, "fail to create an new repo") ErrFailToDerive = errors.TN(_namespace, 20005, "fail to derive: {{.message}}") ErrFailToInherit = errors.TN(_namespace, 20006, "fail to inherit: {{.message}}") ErrFailToConvetTXToNonTX = errors.TN(_namespace, 20007, "could not convert TX to NON-TX") ErrNotFoundGormDB = errors.TN(_namespace, 20008, "not found gorm db with {{.name}}") ErrFailToCreateTransaction = errors.TN(_namespace, 20009, "fail to create transaction: {{.message}}") ErrTransactionIsAlreadyBegin = errors.TN(_namespace, 20010, "transaction is already begin: {{.name}}") ErrNonTransactionCantCommit = errors.TN(_namespace, 20011, "non-transaction can't commit") ErrTransactionSessionIsNil = errors.TN(_namespace, 20012, "transaction session is nil") ErrFailToCommitTransaction = errors.TN(_namespace, 20013, "fail to commit transaction") ErrNotFoundXormEngine = errors.TN(_namespace, 20014, "not found xorm engine with {{.name}}") )
define orm errors
View Source
var (
ErrFailToExecuteLogicFunction = errors.TN(_namespace, 10001, "{{.message}}")
)
define connector errors
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.