trillium-error

Crates.iotrillium-error
lib.rstrillium-error
version0.1.0
sourcesrc
created_at2022-10-11 03:50:11.131036
updated_at2022-10-11 03:50:11.131036
descriptionError handling support for trillium.rs
homepage
repositoryhttps://github.com/prabirshrestha/trillium-error
max_upload_size
id685031
size22,834
Prabir Shrestha (prabirshrestha)

documentation

README

trillium-error

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.

Usage

Refer to the docs.

LICENSE

License under Apache 2.0 or MIT

Commit count: 19

cargo fmt