nginx_ui/nginx-ui-dev/internal/crypto/errors.go
2025-03-04 11:28:12 +00:00

11 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")
)