returning messageresources
This commit is contained in:
parent
6cde64a87a
commit
7c8abe9d56
|
@ -183,7 +183,7 @@ dependencies = [
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "actix-web-utils"
|
name = "actix-web-utils"
|
||||||
version = "0.2.17"
|
version = "0.2.18"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"actix-web",
|
"actix-web",
|
||||||
"log",
|
"log",
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
[package]
|
[package]
|
||||||
name = "actix-web-utils"
|
name = "actix-web-utils"
|
||||||
version = "0.2.17"
|
version = "0.2.18"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
authors = ["Franklin E. Blanco"]
|
authors = ["Franklin E. Blanco"]
|
||||||
description = "Just some useful addons for actix web."
|
description = "Just some useful addons for actix web."
|
||||||
|
|
|
@ -68,7 +68,7 @@ impl FromStr for Error {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
Ok(Error::Unspecified)
|
Ok(Error::ClientError(MessageResource::new_from_str("msg")))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
impl std::error::Error for Error {}
|
impl std::error::Error for Error {}
|
Loading…
Reference in New Issue