1 2 3 4 5 6 7 8 9 10 11 12 13 14
//! Errors in the library. use thiserror::Error; /// Errors in the library. #[derive(Error, Debug)] pub enum LrrError { /// Record key error. #[error("Record key error: {0}")] RecordKeyError(String), /// Record value type error. #[error("Record value type error: {0}")] RecordValueTypeError(String), }