Documentation ¶
Index ¶
Constants ¶
View Source
const ( CodeInternal = 1 CodeNotFound = 2 CodeAlreadyExists = 3 CodeConflict = 4 )
Variables ¶
This section is empty.
Functions ¶
func IsConflict ¶
func IsNotFound ¶
Types ¶
type DBErrReason ¶
const ( ErrDBInternal DBErrReason = "err_db_internal" ErrDBNotFound DBErrReason = "err_db_not_found" ErrDBAlreadyExists DBErrReason = "err_db_already_exists" ErrDBConflict DBErrReason = "err_db_conflict" ErrDBUnknown DBErrReason = "err_db_unknown" )
type Error ¶
func AlreadyExists ¶
Click to show internal directories.
Click to hide internal directories.