Skip to content

Add the error coded to the documentation #193

Description

These error codes should be in the documentation:

/// It is not possible to distinguish between these cases in the v3 data format.
case HMACMismatch = 1

/// Unrecognized data format. Usually this means the data is corrupt.
case UnknownHeader = 2

/// `final()` was called before sufficient data was passed to `updateWithData()`
case MessageTooShort

/// Memory allocation failure. This should never happen.
case MemoryFailure

/// A password-based decryptor was used on a key-based ciphertext, or vice-versa.
case InvalidCredentialType

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions