1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2026-06-18 00:39:54 -04:00

Rename errors with Error prefix

This commit is contained in:
v2ray
2016-01-30 12:23:56 +01:00
parent 2f76680fe9
commit f34e253ea3
10 changed files with 31 additions and 37 deletions

View File

@@ -115,7 +115,7 @@ func (this *InboundDetourConfig) UnmarshalJSON(data []byte) error {
}
if jsonConfig.PortRange == nil {
log.Error("Point: Port range not specified in InboundDetour.")
return BadConfiguration
return ErrorBadConfiguration
}
this.Protocol = jsonConfig.Protocol
this.PortRange = *jsonConfig.PortRange