errors.go 241 B

123456789
  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. )