errors.go 465 B

1234567891011
  1. package config
  2. import "github.com/uozi-tech/cosy"
  3. var (
  4. e = cosy.NewErrorScope("config")
  5. ErrPathIsNotUnderTheNginxConfDir = e.New(50006, "path: {0} is not under the nginx conf dir: {1}")
  6. ErrDstFileExists = e.New(50007, "destination file: {0} already exists")
  7. ErrNginxTestFailed = e.New(50008, "nginx test failed: {0}")
  8. ErrNginxReloadFailed = e.New(50009, "nginx reload failed: {0}")
  9. )