#error #problem-details #rfc7807

svc-error

An implementation of RFC7807: Problem Details for HTTP APIs

11 releases

0.1.10 Sep 7, 2020
0.1.9 May 6, 2020
0.1.8 Feb 14, 2020
0.1.7 Nov 12, 2019
0.1.1 Apr 18, 2019

#177 in Web programming

Download history 224/week @ 2020-05-29 159/week @ 2020-06-05 47/week @ 2020-06-12 33/week @ 2020-06-19 24/week @ 2020-06-26 73/week @ 2020-07-03 83/week @ 2020-07-10 128/week @ 2020-07-17 118/week @ 2020-07-24 71/week @ 2020-07-31 107/week @ 2020-08-07 99/week @ 2020-08-14 174/week @ 2020-08-21 304/week @ 2020-08-28 222/week @ 2020-09-04 94/week @ 2020-09-11

449 downloads per month

MIT license

16KB
333 lines

Error

Build Status

An implementation of RFC7807: Problem Details for HTTP APIs.

License

The source code is provided under the terms of the MIT license.


lib.rs:

SvcError is an implementation of RFC7807: Problem Details for HTTP APIs.

It's possible to attach some metadata to the error (only payload now).

Dependencies

~1.5–7MB
~152K SLoC