示例#1
0
文件: mapReader.go 项目: ionous/tile
func unknownText(reason string, text string) error {
	return errutil.Func(func() string {
		return fmt.Sprintf("%s unknown text %v", reason, text)
	})
}
示例#2
0
文件: mapReader.go 项目: ionous/tile
func unknownKeyValue(reason, key, value string) error {
	return errutil.Func(func() string {
		return fmt.Sprintf("'%s' unknown key-value '%v'='%v'", reason, key, value)
	})
}