nginx-ui/internal/site/errors.go
2025-01-24 16:41:35 +08:00

10 lines
276 B
Go

package site
import "github.com/uozi-tech/cosy"
var (
e = cosy.NewErrorScope("site")
ErrSiteNotFound = e.New(40401, "site not found")
ErrDstFileExists = e.New(50001, "destination file already exists")
ErrSiteIsEnabled = e.New(50002, "site is enabled")
)