HTTP: Add function for using new style errors with fallback (#51627)
This commit is contained in:
@@ -110,6 +110,10 @@ func (s CoreStatus) LogLevel() LogLevel {
|
||||
}
|
||||
}
|
||||
|
||||
func (s CoreStatus) String() string {
|
||||
return string(s)
|
||||
}
|
||||
|
||||
// ProxyStatus implies that an error originated from the data source
|
||||
// proxy.
|
||||
type ProxyStatus CoreStatus
|
||||
|
||||
Reference in New Issue
Block a user