Skip to main content

Module errors

Module errors 

Source
Expand description

Crate-level error type. Mirrors bee-go’s BeeError / BeeArgumentError / BeeResponseError hierarchy as a single Rust enum so callers can match on the variant.

Enums§

Error
All errors surfaced from bee-rs.

Constants§

RESPONSE_BODY_CAP
Cap on captured response bodies so a huge error page can’t OOM.

Functions§

response_error_from
Build an Error::Response from a reqwest::Response. Reads up to RESPONSE_BODY_CAP bytes of the body so a giant error page can’t blow up memory.

Type Aliases§

Result
Result alias used across the crate.