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