connectorx/sources/bigquery/
errors.rs1use gcp_bigquery_client::error::BQError;
2use thiserror::Error;
3use url;
4
5#[derive(Error, Debug)]
6pub enum BigQuerySourceError {
7 #[error(transparent)]
8 ConnectorXError(#[from] crate::errors::ConnectorXError),
9
10 #[error(transparent)]
11 BQError(#[from] BQError),
12
13 #[error(transparent)]
14 BigQueryUrlError(#[from] url::ParseError),
15
16 #[error(transparent)]
17 BigQueryStdError(#[from] std::io::Error),
18
19 #[error(transparent)]
20 BigQueryJsonError(#[from] serde_json::Error),
21
22 #[error(transparent)]
23 BigQueryParseFloatError(#[from] std::num::ParseFloatError),
24
25 #[error(transparent)]
26 BigQueryParseIntError(#[from] std::num::ParseIntError),
27
28 #[error(transparent)]
30 Other(#[from] anyhow::Error),
31}