Error stuff

This commit is contained in:
CenTdemeern1 2025-02-01 00:36:41 +01:00
parent f8fd42f7c4
commit f20e410422

View file

@ -3,6 +3,11 @@ use std::fmt::{Display, Formatter};
macro_rules! impl_error {
($($name: ident ($typ: ty)),*; $($simple_name: ident),*) => {
/// favicon-scraper's automatically generated Error type.
///
/// If more fatal errors are introduced in the future, this type may expand.
/// Hence why it's marked as `non_exhaustive`.
#[non_exhaustive]
#[derive(Debug)]
pub enum Error {
$($simple_name,)*