skribble_core 0.0.0

Core features for the skribble atomic css library
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
pub type Result<T> = core::result::Result<T, Error>;

// Prevents a breaking change when adding a new error type
#[non_exhaustive]
#[derive(thiserror::Error, Debug)]
pub enum Error {
  #[error("an unknown skribble error has occurred")]
  Unknown,

  /// An invalid configuration object was provided.
  #[error("invalid configuration object provided")]
  InvalidConfig {
    #[source]
    source: serde_json::Error,
  },
}