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
+1 -1
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