1use thiserror::Error;
2
3#[derive(Debug, Error)]
4pub enum StoreError {
5 #[error("store init failed: {0}")]
6 Init(String),
7 #[error("insert failed: {0}")]
8 Insert(String),
9 #[error("search failed: {0}")]
10 Search(String),
11 #[error("http error: {0}")]
12 Http(String),
13}