Skip to content

Commit

Permalink
Document variants
Browse files Browse the repository at this point in the history
  • Loading branch information
lulf committed Aug 8, 2024
1 parent 28b7765 commit c762e2c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/errors.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@ use crate::page::ReadError as PageReadError;
#[derive(Clone, Copy, PartialEq, Eq, Debug)]
#[cfg_attr(feature = "defmt", derive(defmt::Format))]
pub enum Error<E> {
/// Database is corrupted.
Corrupted,
/// Error from the underlying flash.
Flash(E),
}

Expand Down

0 comments on commit c762e2c

Please sign in to comment.