Classify a crypto operation error as client (4xx) or server (5xx). Input validation errors (invalid hex, wrong key length, etc.) return 400.
classifyCryptoError(error, request, reply, "Encryption"); Copy
classifyCryptoError(error, request, reply, "Encryption");
Classify a crypto operation error as client (4xx) or server (5xx). Input validation errors (invalid hex, wrong key length, etc.) return 400.