pub fn into_syn_error(self) -> syn::Error {
        match self {
            TracersError::InvalidProvider { syn_error, .. } => Self::error_as_syn_error(syn_error),
            TracersError::SynError { syn_error, .. } => Self::error_as_syn_error(syn_error),
            TracersError::InvalidCallExpression { syn_error, .. } => {
                Self::error_as_syn_error(syn_error)
            }
            others => syn::Error::new(Span::call_site(), others.to_string()),
        }
    }
/// Converts this error type into a `syn::Error`, preserving context from spans and elements if
/// any were given
Converts this error type into a `syn::Error`, preserving context from spans and elements if
any were given
Converts this error type into a ` syn :: Error ` preserving context from spans and elements if any were given
pub fn into_syn_error(self) -> syn::Error {
        match self {
            TracersError::InvalidProvider { syn_error, .. } => Self::error_as_syn_error(syn_error),
            TracersError::SynError { syn_error, .. } => Self::error_as_syn_error(syn_error),
            TracersError::InvalidCallExpression { syn_error, .. } => {
                Self::error_as_syn_error(syn_error)
            }
            others => syn::Error::new(Span::call_site(), others.to_string()),
        }
    }
pub fn into_syn_error ( self ) -> syn :: Error { match self { TracersError :: InvalidProvider { syn_error , .. } => Self :: error_as_syn_error ( syn_error ) , TracersError :: SynError { syn_error , .. } => Self :: error_as_syn_error ( syn_error ) , TracersError :: InvalidCallExpression { syn_error , .. } => { Self :: error_as_syn_error ( syn_error ) } others => syn :: Error :: new ( Span :: call_site ( ) , others . to_string ( ) ) , } }
Converts this error type into a `syn::Error`, preserving context from spans and elements if
any were given
Converts this error type into a ` syn :: Error ` preserving context from spans and elements if any were given
self
self