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

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 28/week @ 2024-07-23 34/week @ 2024-07-30 26/week @ 2024-08-06 21/week @ 2024-08-13 20/week @ 2024-08-20 58/week @ 2024-08-27 15/week @ 2024-09-03 24/week @ 2024-09-10 20/week @ 2024-09-17 49/week @ 2024-09-24 15/week @ 2024-10-01 17/week @ 2024-10-08 14/week @ 2024-10-15 10/week @ 2024-10-22 28/week @ 2024-10-29 19/week @ 2024-11-05

82 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.9–3MB
~57K SLoC