pub enum SaorsaTuiError {
Io(Error),
Terminal(String),
Layout(String),
Style(String),
Render(String),
Widget(String),
Unicode(String),
Reactive(String),
Internal(String),
}Expand description
Error type for saorsa-tui operations.
Variants§
Io(Error)
I/O error.
Terminal(String)
Terminal operation failed.
Layout(String)
Layout calculation failed.
Style(String)
CSS parsing or styling error.
Render(String)
Rendering failed.
Widget(String)
Widget error.
Unicode(String)
Unicode handling error.
Reactive(String)
Reactive system error.
Internal(String)
Internal error.
Trait Implementations§
Source§impl Debug for SaorsaTuiError
impl Debug for SaorsaTuiError
Source§impl Display for SaorsaTuiError
impl Display for SaorsaTuiError
Source§impl Error for SaorsaTuiError
impl Error for SaorsaTuiError
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 !RefUnwindSafe for SaorsaTuiError
impl !UnwindSafe for SaorsaTuiError
impl Freeze for SaorsaTuiError
impl Send for SaorsaTuiError
impl Sync for SaorsaTuiError
impl Unpin for SaorsaTuiError
impl UnsafeUnpin for SaorsaTuiError
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