nginx-ui/internal/crypto/errors.go
2025-02-07 21:54:42 +08:00

10 lines
298 B
Go

package crypto
import "github.com/uozi-tech/cosy"
var (
e = cosy.NewErrorScope("crypto")
ErrPlainTextEmpty = e.New(50001, "plain text is empty")
ErrCipherTextTooShort = e.New(50002, "cipher text is too short")
ErrTimeout = e.New(40401, "request timeout")
)