1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2026-06-08 12:09:11 -04:00

rename Error to Err

This commit is contained in:
v2ray
2016-06-27 08:53:35 +02:00
parent 5ee87404fd
commit 7f661f5215
41 changed files with 118 additions and 118 deletions

View File

@@ -37,7 +37,7 @@ func NewCacheServer(space app.Space, config *Config) *CacheServer {
space.InitializeApplication(func() error {
if !space.HasApp(dispatcher.APP_ID) {
log.Error("DNS: Dispatcher is not found in the space.")
return app.ErrorMissingApplication
return app.ErrMissingApplication
}
dispatcher := space.GetApp(dispatcher.APP_ID).(dispatcher.PacketDispatcher)