Skip to main content

clickhouse_types/
error.rs

1#[derive(Debug, thiserror::Error)]
2#[non_exhaustive]
3#[doc(hidden)]
4pub enum TypesError {
5    #[error("not enough data: {0}")]
6    NotEnoughData(String),
7    #[error("type parsing error: {0}")]
8    TypeParsingError(String),
9    #[error("unexpected empty list of columns")]
10    EmptyColumns,
11}