polyoxide-venue
The vocabulary every polyoxide crate shares: the eight error classes, the
Classify trait every public error type implements, the status and close-code
maps, the one Retry-After parser, Secret, the wire_enum! and open_enum!
macros with their UnknownVariant, UnixMillis, and, behind the decimal
feature, the positional decimal serde of rows sent as bare arrays.
By default it depends on nothing, so a credential-free socket client can use it without building an HTTP or signing stack.
More information about this crate can be found in the crate documentation.
Installation
[]
= "0.40"
Usage
One retry policy serves every polyoxide error, whichever crate it came from:
use Duration;
use ;
;
assert_eq!;
A caller that handles errors from several crates at once can convert each into
a ClassifiedError with ?, which keeps the class, whether the error is a
fault, and the wait it asked for.