use super::debug_snapshot_error::LoggingSchemaSnapshotError;
#[cfg(test)]
pub(crate) fn build_fetch_relations_snapshot_error_for_tests(
source_message: &str,
) -> LoggingSchemaSnapshotError {
LoggingSchemaSnapshotError::FetchRelations(sqlx::Error::Protocol(source_message.to_string()))
}
#[cfg(test)]
pub(crate) fn build_fetch_columns_snapshot_error_for_tests(
source_message: &str,
) -> LoggingSchemaSnapshotError {
LoggingSchemaSnapshotError::FetchColumns(sqlx::Error::Protocol(source_message.to_string()))
}