connectorx/sources/clickhouse/errors.rs
1use thiserror::Error;
2
3#[derive(Error, Debug)]
4pub enum ClickHouseSourceError {
5 #[error(transparent)]
6 ConnectorXError(#[from] crate::errors::ConnectorXError),
7
8 #[error(transparent)]
9 UrlParseError(#[from] url::ParseError),
10
11 #[error("Failed to get row count")]
12 GetNRowsFailed,
13
14 #[error("Failed to parse type: {0}")]
15 TypeParseError(String),
16
17 #[error(transparent)]
18 Other(#[from] anyhow::Error),
19}