revery 0.1.1

💭 Conversations that never happened.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use thiserror::Error;

/// Errors that can occur during session operations
#[derive(Error, Debug, PartialEq)]
pub enum SessionError {
    /// HMAC verification failed - message may have been tampered with
    #[error("HMAC verification failed")]
    HmacVerificationFailed,
    /// Failed to strip EXIF from JPEG
    #[error("Failed to strip EXIF from image")]
    ExifStripFailed,
}