returning messageresources
This commit is contained in:
parent
6cde64a87a
commit
7c8abe9d56
2
Cargo.lock
generated
2
Cargo.lock
generated
@ -183,7 +183,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "actix-web-utils"
|
||||
version = "0.2.17"
|
||||
version = "0.2.18"
|
||||
dependencies = [
|
||||
"actix-web",
|
||||
"log",
|
||||
|
@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "actix-web-utils"
|
||||
version = "0.2.17"
|
||||
version = "0.2.18"
|
||||
edition = "2021"
|
||||
authors = ["Franklin E. Blanco"]
|
||||
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 {}
|
Loading…
Reference in New Issue
Block a user