1
0

errors.go 641 B

12345678910111213
  1. package cert
  2. import "github.com/uozi-tech/cosy"
  3. var (
  4. e = cosy.NewErrorScope("cert")
  5. ErrCertModelFilenameEmpty = e.New(50001, "filename is empty")
  6. ErrCertPathIsNotUnderTheNginxConfDir = e.New(50002, "cert path is not under the nginx conf dir")
  7. ErrCertDecode = e.New(50003, "certificate decode error")
  8. ErrCertParse = e.New(50004, "certificate parse error")
  9. ErrPayloadResourceIsNil = e.New(50005, "payload resource is nil")
  10. ErrPathIsNotUnderTheNginxConfDir = e.New(50006, "path: {0} is not under the nginx conf dir: {1}")
  11. )