aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib.rs
diff options
context:
space:
mode:
authorYigit Sever2021-04-13 20:37:54 +0300
committerYigit Sever2021-04-13 20:37:54 +0300
commit4de129bbae1a26b8ee62d7ec1f73d60e6cbcc530 (patch)
tree9c673b1f0f7e1c53ab853cbbda93d74705a5a6ad /src/lib.rs
parented9ffcef84e65308e4e6aff018d901fe36b17b7f (diff)
downloadgradecoin-4de129bbae1a26b8ee62d7ec1f73d60e6cbcc530.tar.gz
gradecoin-4de129bbae1a26b8ee62d7ec1f73d60e6cbcc530.tar.bz2
gradecoin-4de129bbae1a26b8ee62d7ec1f73d60e6cbcc530.zip
Add verbose error messages
Not happy with the solution one bit but using error.rs at https://blog.logrocket.com/create-an-async-crud-web-service-in-rust-with-warp/ was not working Basically we just handcraft every single response on the spot, there is some repetition and it's ugly but need to move on
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 6e51899..42def0f 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -25,3 +25,4 @@ pub mod custom_filters;
25pub mod handlers; 25pub mod handlers;
26pub mod routes; 26pub mod routes;
27pub mod schema; 27pub mod schema;
28pub mod error;