#problem #uri #dynamic #solid #protocols #string #web

dyn_problem

This crate provides a Problem type to represent dynamic problems, with problem types identified by uri

2 releases

0.1.1 Sep 28, 2023
0.1.0 Sep 28, 2023

#10 in #solid

Download history 36/week @ 2024-03-11 37/week @ 2024-03-18 76/week @ 2024-03-25 118/week @ 2024-04-01 24/week @ 2024-04-08 34/week @ 2024-04-15 43/week @ 2024-04-22 32/week @ 2024-04-29 41/week @ 2024-05-06 32/week @ 2024-05-13 33/week @ 2024-05-20 36/week @ 2024-05-27 33/week @ 2024-06-03 29/week @ 2024-06-10 22/week @ 2024-06-17 36/week @ 2024-06-24

121 downloads per month
Used in 13 crates (11 directly)

MIT/Apache

15KB
283 lines

This crate provides a reified dynamic error type, for using in cases, where one may want to be flexible about kinds of error for an operation.

The Problem type allows to specify kind/type of an error as a uri dynamically. Along with that, the type allows to record a string message, and lets us to attach custom extensions too.

Dependencies

~1.8–2.9MB
~55K SLoC