pub struct ErrorTrackingOptions { /* private fields */ }Expand description
Client-level Error Tracking configuration, applied to every exception the
client captures. Set it via ErrorTrackingOptionsBuilder on
ClientOptions::error_tracking.
§Examples
use posthog_rs::ErrorTrackingOptionsBuilder;
let options = ErrorTrackingOptionsBuilder::default()
.capture_stacktrace(true)
// Substring patterns match file paths and function symbols, so a
// crate prefix marks that crate's frames as not in-app.
.in_app_exclude_paths(vec!["other_crate::".to_string()])
.build()
.unwrap();Trait Implementations§
Source§impl Clone for ErrorTrackingOptions
impl Clone for ErrorTrackingOptions
Source§fn clone(&self) -> ErrorTrackingOptions
fn clone(&self) -> ErrorTrackingOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ErrorTrackingOptions
impl Debug for ErrorTrackingOptions
Auto Trait Implementations§
impl Freeze for ErrorTrackingOptions
impl RefUnwindSafe for ErrorTrackingOptions
impl Send for ErrorTrackingOptions
impl Sync for ErrorTrackingOptions
impl Unpin for ErrorTrackingOptions
impl UnsafeUnpin for ErrorTrackingOptions
impl UnwindSafe for ErrorTrackingOptions
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