Skip to main content

check_error_details_to_send

Function check_error_details_to_send 

Source
fn check_error_details_to_send(m: &RequestError) -> Result<(), CodecError>
Expand description

The sender’s half of check_error_details, plus Section 9.4.2: “Senders MUST NOT repeat the same Error Detail type in a message unless the type’s definition explicitly allows multiple instances.” Only UNSUPPORTED_PROPERTY allows them, and a type this draft does not define is the caller’s to repeat or not.