pub struct BindingChainException { /* private fields */ }Expand description
An error that signals that a binding chain is broken: the value could not be read at some point of the binding path.
Implementations§
Source§impl BindingChainException
impl BindingChainException
pub fn new() -> Self
pub fn with_message(message: impl Into<String>) -> Self
pub fn with_expression( message: impl Into<String>, expression: impl Into<String>, error_point: impl Into<String>, ) -> Self
Sourcepub fn expression(&self) -> Option<&str>
pub fn expression(&self) -> Option<&str>
The expression that could not be evaluated.
Sourcepub fn set_expression(&mut self, value: Option<String>)
pub fn set_expression(&mut self, value: Option<String>)
Sets the expression that could not be evaluated (the protected setter of Expression).
Sourcepub fn expression_error_point(&self) -> Option<&str>
pub fn expression_error_point(&self) -> Option<&str>
The point in the expression at which the error occurred.
Sourcepub fn set_expression_error_point(&mut self, value: Option<String>)
pub fn set_expression_error_point(&mut self, value: Option<String>)
Sets the point in the expression at which the error occurred (the protected setter of
ExpressionErrorPoint).
Trait Implementations§
Source§impl Clone for BindingChainException
impl Clone for BindingChainException
Source§impl Debug for BindingChainException
impl Debug for BindingChainException
Source§impl Default for BindingChainException
impl Default for BindingChainException
Source§impl Display for BindingChainException
impl Display for BindingChainException
Source§impl Error for BindingChainException
impl Error for BindingChainException
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 BindingChainException
impl RefUnwindSafe for BindingChainException
impl Send for BindingChainException
impl Sync for BindingChainException
impl Unpin for BindingChainException
impl UnsafeUnpin for BindingChainException
impl UnwindSafe for BindingChainException
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
Source§impl<T> ClassDefaults for Twhere
T: ?Sized,
impl<T> ClassDefaults for Twhere
T: ?Sized,
Source§fn static_constructor()
fn static_constructor()
The static constructor of a type: work done once per thread, after
the properties of the type are registered and before its first
instance exists (class handlers,
affects_render, metadata
overrides). Read more