Documentation ¶
Index ¶
Constants ¶
View Source
const (
ParamError = 400
)
Variables ¶
View Source
var ( ErrSpaceNotFound = errors.NewWithHTTPCode(http.StatusNotFound, 100001, "space not found") ErrNodeNotFound = errors.NewWithHTTPCode(http.StatusNotFound, 100002, "node not found") ErrRoleNotFound = errors.NewWithHTTPCode(http.StatusNotFound, 100003, "role not found") ErrUserNotFound = errors.NewWithHTTPCode(http.StatusNotFound, 100004, "user not found") ErrSpaceNameAlreadyExists = errors.New(100005, "space name already exists") ErrUserBanned = errors.NewWithHTTPCode(http.StatusForbidden, 100006, "user is banned") ErrUserAlreadyExists = errors.New(100007, "user already exists") )
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.