mirror of
https://github.com/mayswind/ezbookkeeping.git
synced 2026-05-18 00:34:28 +08:00
show error when request file name extension is invalid when using map image proxy
This commit is contained in:
@@ -4,5 +4,6 @@ import "net/http"
|
||||
|
||||
// Error codes related to map image proxy
|
||||
var (
|
||||
ErrMapProviderNotCurrent = NewNormalError(NormalSubcategoryMapProxy, 0, http.StatusBadRequest, "specified map provider is not set")
|
||||
ErrMapProviderNotCurrent = NewNormalError(NormalSubcategoryMapProxy, 0, http.StatusBadRequest, "specified map provider is not set")
|
||||
ErrImageExtensionNotSupported = NewNormalError(NormalSubcategoryMapProxy, 0, http.StatusNotFound, "specified image extension is not supported")
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user