identicon-rs 7.2.1

identicon-rs is a library built around custom generation of identicon images.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use thiserror::Error;

/// Theme Errors
///
/// These are provided for writing new types of themes using the Theme trait.
#[derive(Error, Debug)]
pub enum ThemeError {
    /// Theme failed validation
    #[error("theme validation failed: {0}")]
    ThemeValidationError(String),

    /// Theme failed to generate a color
    #[error("theme processing failed: {0}")]
    ThemeProcessingError(String),
}