Error stuff
This commit is contained in:
parent
f8fd42f7c4
commit
f20e410422
1 changed files with 5 additions and 0 deletions
|
@ -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,)*
|
||||
|
|
Loading…
Add table
Reference in a new issue