returning messageresources

This commit is contained in:
Franklin 2022-09-20 00:38:18 -04:00
parent 6cde64a87a
commit 7c8abe9d56
3 changed files with 3 additions and 3 deletions

2
Cargo.lock generated
View File

@ -183,7 +183,7 @@ dependencies = [
[[package]]
name = "actix-web-utils"
version = "0.2.17"
version = "0.2.18"
dependencies = [
"actix-web",
"log",

View File

@ -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."

View File

@ -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 {}