pub enum UGError {
InvalidHTMLError,
InvalidURLError,
NoBasicDataMatchError,
UnexpectedWebResultError,
UnknownTypeError,
}
Expand description
Possible errors
Variants§
InvalidHTMLError
Occurs when an unsupported HTML is attempted to be evaluated.
InvalidURLError
Occurs when an unsupported URL is attempted to be downloaded as a tab.
NoBasicDataMatchError
Occurs when a tab without any available metadata is attempted to be downloaded.
UnexpectedWebResultError
Occurs when any data extracting function gets unexpected data from UG.
E.g. if a string value is found in a place where a float is expected.
UnknownTypeError
Is returned by types_and_values::get_data_type() if the provided string does not match any known type of tab.
Trait Implementations§
Source§impl Error for UGError
impl Error for UGError
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()
impl Eq for UGError
impl StructuralPartialEq for UGError
Auto Trait Implementations§
impl Freeze for UGError
impl RefUnwindSafe for UGError
impl Send for UGError
impl Sync for UGError
impl Unpin for UGError
impl UnwindSafe for UGError
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