scuffle_rtmp/handshake/complex/
error.rs

1//! Complex handshake error type.
2
3/// Errors that can occur during the complex handshake.
4#[derive(Debug, thiserror::Error)]
5pub enum ComplexHandshakeError {
6    /// The digest length is not correct.
7    #[error("digest length not correct")]
8    DigestLengthNotCorrect,
9    /// Cannot generate digest.
10    #[error("cannot generate digest")]
11    CannotGenerate,
12}