pub enum CoreError {
InvalidUrl(String),
Canonicalize(String),
Io(Error),
Storage(String),
Json(Error),
Partial {
element: String,
reason: String,
},
}Expand description
Top-level error type for core operations.
Variants§
InvalidUrl(String)
A bookmark URL could not be parsed.
Canonicalize(String)
A canonicalization rule failed (e.g., IDN with non-ASCII host).
Io(Error)
I/O error from the underlying reader/writer.
Storage(String)
SQLite storage error.
Json(Error)
JSON parsing error.
Partial
A bridge or sink reported a non-fatal element failure. The
element field carries the affected input identifier (URL or
external_id) for reporting.
Trait Implementations§
Source§impl Error for CoreError
impl Error for CoreError
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 CoreError
impl !UnwindSafe for CoreError
impl Freeze for CoreError
impl Send for CoreError
impl Sync for CoreError
impl Unpin for CoreError
impl UnsafeUnpin for CoreError
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