14 lines
429 B
Go
14 lines
429 B
Go
package code
|
|
|
|
// CatToStr collects general error messages for each Category
|
|
// It is used to send back to API caller
|
|
var CatToStr = map[uint32]string{
|
|
CatInput: "Invalid Input Data",
|
|
CatDB: "Database Error",
|
|
CatResource: "Resource Error",
|
|
CatGRPC: "Internal Service Communication Error",
|
|
CatAuth: "Authentication Error",
|
|
CatService: "Internal Service Communication Error",
|
|
CatSystem: "System Error",
|
|
}
|