nginx_ui/nginx-ui-dev/internal/crypto/errors.go

11 lines
298 B
Go
Raw Permalink Normal View History

2025-03-04 19:28:12 +08:00
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")
)