Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions mls-rs/src/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,8 @@ pub enum MlsError {
ExtensionError(AnyError),
#[cfg_attr(feature = "std", error("Cipher suite does not match"))]
CipherSuiteMismatch,
#[cfg_attr(feature = "std", error("Initial epoch must be 1"))]
InitialEpochNotOne,
#[cfg_attr(feature = "std", error("Invalid commit, missing required path"))]
CommitMissingPath,
#[cfg_attr(feature = "std", error("plaintext message for incorrect epoch"))]
Expand Down Expand Up @@ -354,6 +356,8 @@ pub enum MlsError {
ExporterDeleted,
#[cfg_attr(feature = "std", error("Self-remove already proposed"))]
SelfRemoveAlreadyProposed,
#[cfg_attr(feature = "std", error("not a subgroup"))]
NotASubgroup,
}

impl IntoAnyError for MlsError {
Expand Down
Loading
Loading