EverCrypt.Error
Return type used for AEAD functions
AEAD
type error_code =
| UnsupportedAlgorithm
| InvalidKey
| AuthenticationFailure
| InvalidIVLength
| DecodeError
| MaximumLengthExceeded
type 'a result =
| Success of 'a
| Error of error_code