Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var LOGGER = logging.MustGetLogger("errorMessageconfig")
Functions ¶
func LoadErrorConfig ¶
Each service will Need to load error config and init and pass to WWError function each time
func LoadMessage ¶
func LoadMessage(locale, errorCode string) model.WorldWireError
Types ¶
type ErrorMessageConfig ¶
type ErrorMessageConfig struct {
WWError map[string]WWErrorMessage `toml:"WW_ERROR"`
}
var (
ERROR_MESSAGE_CONFIG ErrorMessageConfig
)
type WWErrorMessage ¶
Click to show internal directories.
Click to hide internal directories.