Documentation
¶
Index ¶
Constants ¶
View Source
const ( // ErrGoodsNotFound - 404: Goods not found. ErrGoodsNotFound int = iota + 100501 // ErrCategoryNotFound - 404: Category not found. ErrCategoryNotFound // ErrEsUnmarshal - 500: ES unmarshal error. ErrEsUnmarshal // ErrElasticSearch - 500: ElasticSearch error. ErrElasticsearch )
View Source
const ( // ErrInventoryNotFound - 404: Inventory not found. ErrInventoryNotFound int = iota + 100701 // ErrInvSellDetailNotFound - 400: Inventory sell detail not found. ErrInvSellDetailNotFound // ErrInvNotEnough - 400: Inventory not enough. ErrInvNotEnough )
View Source
const ( // ErrOrderNotFound - 404: Order not found. ErrOrderNotFound int = iota + 100801 // ErrShopCartItemNotFound - 404: ShopCart item not found. ErrShopCartItemNotFound // ErrSubmitOrder - 500: Submit order error. ErrSubmitOrder // ErrNoGoodsSelected - 404: No goods selected. ErrNoGoodsSelected )
View Source
const ( // ErrUserNotFound - 404: User not found. ErrUserNotFound int = iota + 100401 // ErrUserAlreadyExists - 400: User already exists. ErrUserAlreadyExists // ErrLoginFailed - 500: Login failed. ErrLoginFailed // ErrSmsSend - 500: Send sms error. ErrSmsSend // ErrCodeNotExist - 400: Sms code not exist. ErrCodeNotExist // ErrCodeIncorrent - 400: Sms code incorrent. ErrCodeIncorrent )
View Source
const ( // ErrGrpcConn - 500: Connect to grpc error. ErrGrpcConn int = iota + 100601 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.