fix: removed Unknown from errors
This commit is contained in:
parent
b65be908a8
commit
acb8924b46
|
@ -23,8 +23,7 @@ pub enum Error {
|
||||||
Deserialization(serde_json::Error, Option<Value>),
|
Deserialization(serde_json::Error, Option<Value>),
|
||||||
Header(reqwest::header::InvalidHeaderValue),
|
Header(reqwest::header::InvalidHeaderValue),
|
||||||
ChronoParse(chrono::ParseError),
|
ChronoParse(chrono::ParseError),
|
||||||
NoSuchProperty(String),
|
NoSuchProperty(String)
|
||||||
Unknown
|
|
||||||
}
|
}
|
||||||
|
|
||||||
impl From<reqwest::Error> for Error {
|
impl From<reqwest::Error> for Error {
|
||||||
|
|
Loading…
Reference in a new issue