Crates.io | trillium-error |
lib.rs | trillium-error |
version | 0.1.0 |
source | src |
created_at | 2022-10-11 03:50:11.131036 |
updated_at | 2022-10-11 03:50:11.131036 |
description | Error handling support for trillium.rs |
homepage | |
repository | https://github.com/prabirshrestha/trillium-error |
max_upload_size | |
id | 685031 |
size | 22,834 |
This crate adds support for error handling in trillium web framework.
Due to limitations in Rust, error handling is currently not supported in trillium. When the language
adds capability to express bounds for for<'a> Fn(&'a Conn) -> impl Future<Output=…> + 'a
, trillium
will add first class support for error handling. For more details please refer to the discussion
here. Until then trillium-error
provides
a proc macro to help write handlers with error.
Refer to the docs.
License under Apache 2.0 or MIT