init commit

This commit is contained in:
thesimplekid
2023-04-23 00:32:40 -04:00
commit 25c3620ecc
9 changed files with 409 additions and 0 deletions

9
src/error.rs Normal file
View File

@@ -0,0 +1,9 @@
#[derive(Debug, thiserror::Error)]
pub enum Error {
/// Min req error
#[error("minreq error: {0}")]
MinReqError(#[from] minreq::Error),
/// Parse Url Error
#[error("minreq error: {0}")]
UrlParseError(#[from] url::ParseError),
}