Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add the error coded to the documentation #193

Open
ghost opened this issue Mar 19, 2016 · 0 comments
Open

Add the error coded to the documentation #193

ghost opened this issue Mar 19, 2016 · 0 comments
Assignees
Milestone

Comments

@ghost
Copy link

ghost commented Mar 19, 2016

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
@rnapier rnapier added this to the 5.0.1 milestone Sep 16, 2016
@rnapier rnapier self-assigned this Sep 16, 2016
@rnapier rnapier modified the milestones: 5.0.1, 5.0.2 Sep 27, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant