errors.go 298 B

12345678910
  1. package crypto
  2. import "github.com/uozi-tech/cosy"
  3. var (
  4. e = cosy.NewErrorScope("crypto")
  5. ErrPlainTextEmpty = e.New(50001, "plain text is empty")
  6. ErrCipherTextTooShort = e.New(50002, "cipher text is too short")
  7. ErrTimeout = e.New(40401, "request timeout")
  8. )