errors.go 393 B

1234567891011
  1. package parser
  2. import "github.com/uozi-tech/cosy"
  3. var (
  4. e = cosy.NewErrorScope("nginx_log.parser")
  5. ErrEmptyLogLine = e.New(50101, "empty log line")
  6. ErrLineTooLong = e.New(50102, "log line exceeds maximum length")
  7. ErrUnsupportedLogFormat = e.New(50103, "unsupported log format")
  8. ErrInvalidTimestamp = e.New(50104, "invalid timestamp format")
  9. )