badgeland 0.13.0

Fast badge generator for any purpose
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
use thiserror::Error;

#[derive(Error, Debug)]
#[error("Invalid Color")]
pub struct ColorError;

#[cfg(feature = "static_icons")]
#[derive(Error, Debug)]
#[error("Invalid Icon")]
pub struct IconError;

#[derive(Error, Debug)]
#[error("Invalid Size")]
pub struct SizeError;

#[derive(Error, Debug)]
#[error("Invalid Style")]
pub struct StyleError;