pub enum ToolsError {
InvalidUrl(String),
InvalidPattern(Error),
EmptyInput(String),
InvalidConfig(String),
}Expand description
Errors that can occur during IPTV tools operations.
Variants§
InvalidUrl(String)
Invalid URL format.
InvalidPattern(Error)
Invalid regex pattern.
EmptyInput(String)
Empty input where non-empty was expected.
InvalidConfig(String)
Invalid configuration (e.g., malformed JSON).
Trait Implementations§
Source§impl Debug for ToolsError
impl Debug for ToolsError
Source§impl Display for ToolsError
impl Display for ToolsError
Source§impl Error for ToolsError
impl Error for ToolsError
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 ToolsError
impl RefUnwindSafe for ToolsError
impl Send for ToolsError
impl Sync for ToolsError
impl Unpin for ToolsError
impl UnsafeUnpin for ToolsError
impl UnwindSafe for ToolsError
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