WebUI/src/util/errors.go
Theta-Dev 60034b4815
All checks were successful
continuous-integration/drone/push Build is passing
add server base
2022-02-01 23:08:45 +01:00

13 lines
340 B
Go

package util
import (
"errors"
"net/http"
)
var (
ErrAlreadyRunning = HttpErrNew("rauc already running", http.StatusConflict)
ErrFileDoesNotExist = errors.New("file does not exist")
ErrPageNotFound = HttpErrNew("page not found", http.StatusNotFound)
ErrUnauthorized = HttpErrNew("unauthorized", http.StatusUnauthorized)
)