pub enum SqlError {
Show 20 variants
MigrationError(String),
QueryError(String),
VersionError(String),
FileError(String),
ConnectionError(String),
UpdateDriftProfileError(String),
GetBinProportionsError(String),
GetCustomMetricsError(String),
InsertCustomMetricsError(String),
InvalidRecordTypeError(String),
GetEntitiesError(String),
GetEntityDataError(String),
GetFeaturesError(String),
GetNextRunError(String),
GetDriftTaskError(String),
UtilError(UtilError),
DataFrameError(DataFrameError),
FailedToExtractError(String, String),
InvalidDateRangeError(String),
FailedToConvertDataFrameError(String),
}Variants§
MigrationError(String)
QueryError(String)
VersionError(String)
FileError(String)
ConnectionError(String)
UpdateDriftProfileError(String)
GetBinProportionsError(String)
GetCustomMetricsError(String)
InsertCustomMetricsError(String)
InvalidRecordTypeError(String)
GetEntitiesError(String)
GetEntityDataError(String)
GetFeaturesError(String)
GetNextRunError(String)
GetDriftTaskError(String)
UtilError(UtilError)
DataFrameError(DataFrameError)
FailedToExtractError(String, String)
InvalidDateRangeError(String)
FailedToConvertDataFrameError(String)
Implementations§
Source§impl SqlError
impl SqlError
pub fn traced_query_error(err: impl Display) -> Self
pub fn traced_update_drift_profile_error(err: impl Display) -> Self
pub fn traced_get_bin_proportions_error(err: impl Display) -> Self
pub fn traced_get_custom_metrics_error(err: impl Display) -> Self
pub fn traced_insert_custom_metrics_error(err: impl Display) -> Self
pub fn traced_invalid_record_type_error(err: impl Display) -> Self
pub fn traced_get_entities_error(err: impl Display) -> Self
pub fn traced_get_entity_data_error(err: impl Display) -> Self
pub fn traced_get_features_error(err: impl Display) -> Self
pub fn traced_get_next_run_error(err: impl Display) -> Self
pub fn traced_get_drift_task_error(err: impl Display) -> Self
pub fn traced_failed_to_extract_error( err: impl Display, field: impl Display, ) -> Self
pub fn traced_connection_error(err: impl Display) -> Self
pub fn traced_failed_to_convert_dataframe_error(err: impl Display) -> Self
Trait Implementations§
Source§impl Error for SqlError
impl Error for SqlError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl From<DataFrameError> for SqlError
impl From<DataFrameError> for SqlError
Source§fn from(source: DataFrameError) -> Self
fn from(source: DataFrameError) -> Self
Converts to this type from the input type.
Source§impl From<SqlError> for ClientError
impl From<SqlError> for ClientError
Source§impl From<SqlError> for EventError
impl From<SqlError> for EventError
Source§impl From<SqlError> for ScouterError
impl From<SqlError> for ScouterError
impl StructuralPartialEq for SqlError
Auto Trait Implementations§
impl Freeze for SqlError
impl RefUnwindSafe for SqlError
impl Send for SqlError
impl Sync for SqlError
impl Unpin for SqlError
impl UnwindSafe for SqlError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more