libmotiva 0.1.1

Sanctioned entities matching utilities
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
#[derive(Debug, thiserror::Error)]
pub enum MotivaError {
  #[error("invalid configuration: {0}")]
  ConfigError(String),
  #[error("resource not found")]
  ResourceNotFound,
  #[error("invalid schema: {0}")]
  InvalidSchema(String),
  #[error(transparent)]
  IndexError(#[from] elasticsearch::Error),
  #[error(transparent)]
  OtherError(#[from] anyhow::Error),
}