Versions in this module Expand all Collapse all v1 v1.1.5 Dec 22, 2023 v1.0.0 Dec 22, 2023 Changes in this version + const ACCESS_DENIED + const CACHE_ERR + const CONFIG_ERR + const CREATE_FILE_FAIL + const DB_ERR + const DEADLINE_EXCEEDED + const FAIL + const GRPC_SYS_ERR + const INVALID_PARAMS + const LIMIT_EXCEED + const METHOD_NOT_ALLOWED + const NOT_FOUND + const PARAMS_TELEPHONE_ERROR + const SIGN_ERROR + const SUCCESS + const UNAUTH + const UNKNOWN + func GetErrMsg(code int) string + func RegisterErrMsgDict(dict map[int]string) + func ToHttpStatusCode(code codes.Code) int + func ToRPCCode(code int32) codes.Code + func TogRPCError(code int, msgs ...string) error + type Status struct + func FromError(err error) *Status + func ToRPCStatus(code int, msgs ...string) *Status + func (s *Status) CommonError() *common.Error