pub enum SentryError {
Configuration(String),
TaskJoin(String),
FlushTimeout,
}Expand description
Error returned by Sentry configuration or lifecycle operations.
Variants§
Configuration(String)
Configuration is invalid or unsafe.
TaskJoin(String)
A blocking flush task failed to join.
FlushTimeout
Sentry did not drain its bounded transport queue before the deadline.
Trait Implementations§
Source§impl Debug for SentryError
impl Debug for SentryError
Source§impl Display for SentryError
impl Display for SentryError
Source§impl Error for SentryError
impl Error for SentryError
1.30.0 · 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()
Auto Trait Implementations§
impl Freeze for SentryError
impl RefUnwindSafe for SentryError
impl Send for SentryError
impl Sync for SentryError
impl Unpin for SentryError
impl UnsafeUnpin for SentryError
impl UnwindSafe for SentryError
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