show error when specified map provider is not current provider when using map image proxy

This commit is contained in:
MaysWind
2023-10-29 14:47:18 +08:00
parent 2984980a54
commit d18e8211ca
3 changed files with 13 additions and 0 deletions
+8
View File
@@ -0,0 +1,8 @@
package errs
import "net/http"
// Error codes related to map image proxy
var (
ErrMapProviderNotCurrent = NewNormalError(NormalSubcategoryMapProxy, 0, http.StatusBadRequest, "specified map provider is not set")
)