pub enum ScouterError {
Show 31 variants
SerializeError,
DeSerializeError,
CreatePathError,
MissingFeatureMapError,
StringProfileError(String),
InvalidDriftTypeError(String),
ShapeMismatchError(String),
FeatureError(String),
Error(String),
AlertError(AlertError),
CustomError(CustomMetricError),
FeatureQueueError(FeatureQueueError),
SqlError(SqlError),
DriftError(DriftError),
StorageError(StorageError),
ClientError(ClientError),
ProfileError(ProfilerError),
DataFrameError(DataFrameError),
EventError(EventError),
UtilError(UtilError),
TypeError(TypeError),
MissingValue,
EmptyServerRecordsError,
FailedToDowncast(String),
UnsupportedDataType(String),
DataNotNumpy,
ColumnNamesMustBeStrings,
MissingQueueError(String),
BindError(String),
QueueCreateError(String),
QueueShutdownError(String),
}Expand description
THis should be the top-level error that all other errors are converted to
Variants§
SerializeError
DeSerializeError
CreatePathError
MissingFeatureMapError
StringProfileError(String)
InvalidDriftTypeError(String)
ShapeMismatchError(String)
FeatureError(String)
Error(String)
AlertError(AlertError)
CustomError(CustomMetricError)
FeatureQueueError(FeatureQueueError)
SqlError(SqlError)
DriftError(DriftError)
StorageError(StorageError)
ClientError(ClientError)
ProfileError(ProfilerError)
DataFrameError(DataFrameError)
EventError(EventError)
UtilError(UtilError)
TypeError(TypeError)
MissingValue
EmptyServerRecordsError
FailedToDowncast(String)
UnsupportedDataType(String)
DataNotNumpy
ColumnNamesMustBeStrings
MissingQueueError(String)
BindError(String)
QueueCreateError(String)
QueueShutdownError(String)
Implementations§
Source§impl ScouterError
impl ScouterError
pub fn raise<T>(self) -> Result<T, Self>
pub fn traced_downcast_error(err: impl Display) -> Self
pub fn traced_unsupported_data_type_error(err: impl Display) -> Self
pub fn traced_data_not_numpy_error() -> Self
Trait Implementations§
Source§impl Debug for ScouterError
impl Debug for ScouterError
Source§impl Display for ScouterError
impl Display for ScouterError
Source§impl Error for ScouterError
impl Error for ScouterError
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<AlertError> for ScouterError
impl From<AlertError> for ScouterError
Source§fn from(source: AlertError) -> Self
fn from(source: AlertError) -> Self
Converts to this type from the input type.
Source§impl From<ClientError> for ScouterError
impl From<ClientError> for ScouterError
Source§fn from(source: ClientError) -> Self
fn from(source: ClientError) -> Self
Converts to this type from the input type.
Source§impl From<CustomMetricError> for ScouterError
impl From<CustomMetricError> for ScouterError
Source§fn from(source: CustomMetricError) -> Self
fn from(source: CustomMetricError) -> Self
Converts to this type from the input type.
Source§impl From<DataFrameError> for ScouterError
impl From<DataFrameError> for ScouterError
Source§fn from(source: DataFrameError) -> Self
fn from(source: DataFrameError) -> Self
Converts to this type from the input type.
Source§impl From<DriftError> for ScouterError
impl From<DriftError> for ScouterError
Source§fn from(source: DriftError) -> Self
fn from(source: DriftError) -> Self
Converts to this type from the input type.
Source§impl From<Error> for ScouterError
impl From<Error> for ScouterError
Source§fn from(err: Error) -> ScouterError
fn from(err: Error) -> ScouterError
Converts to this type from the input type.
Source§impl From<EventError> for ScouterError
impl From<EventError> for ScouterError
Source§fn from(source: EventError) -> Self
fn from(source: EventError) -> Self
Converts to this type from the input type.
Source§impl From<FeatureQueueError> for ScouterError
impl From<FeatureQueueError> for ScouterError
Source§fn from(source: FeatureQueueError) -> Self
fn from(source: FeatureQueueError) -> Self
Converts to this type from the input type.
Source§impl From<ProfilerError> for ScouterError
impl From<ProfilerError> for ScouterError
Source§fn from(source: ProfilerError) -> Self
fn from(source: ProfilerError) -> Self
Converts to this type from the input type.
Source§impl From<PyErr> for ScouterError
impl From<PyErr> for ScouterError
Source§fn from(err: PyErr) -> ScouterError
fn from(err: PyErr) -> ScouterError
Converts to this type from the input type.
Source§impl From<ScouterError> for PyErr
impl From<ScouterError> for PyErr
Source§fn from(err: ScouterError) -> PyErr
fn from(err: ScouterError) -> PyErr
Converts to this type from the input type.
Source§impl From<SqlError> for ScouterError
impl From<SqlError> for ScouterError
Source§impl From<StorageError> for ScouterError
impl From<StorageError> for ScouterError
Source§fn from(source: StorageError) -> Self
fn from(source: StorageError) -> Self
Converts to this type from the input type.
Source§impl From<TypeError> for ScouterError
impl From<TypeError> for ScouterError
Source§impl From<UtilError> for ScouterError
impl From<UtilError> for ScouterError
Source§impl TracedError for ScouterError
impl TracedError for ScouterError
Auto Trait Implementations§
impl Freeze for ScouterError
impl RefUnwindSafe for ScouterError
impl Send for ScouterError
impl Sync for ScouterError
impl Unpin for ScouterError
impl UnwindSafe for ScouterError
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