mirror of
https://github.com/v2ray/v2ray-core.git
synced 2026-11-30 23:37:44 +00:00
Rename errors with Error prefix
This commit is contained in:
1 parent
2f76680fe9
commit
f34e253ea3
10 files changed
+31
-37
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user