nginx-ui/internal/stream/errors.go
2025-02-25 15:53:08 +08:00

10 lines
288 B
Go

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