errors.go 493 B

12345678910111213
  1. package stream
  2. import "github.com/uozi-tech/cosy"
  3. var (
  4. e = cosy.NewErrorScope("stream")
  5. ErrStreamNotFound = e.New(40401, "stream not found")
  6. ErrDstFileExists = e.New(50001, "destination file already exists")
  7. ErrStreamIsEnabled = e.New(50002, "stream is enabled")
  8. ErrNginxTestFailed = e.New(50003, "nginx test failed: {0}")
  9. ErrNginxReloadFailed = e.New(50004, "nginx reload failed: {0}")
  10. ErrReadDirFailed = e.New(50005, "read dir failed: {0}")
  11. )