//! `IntoStatus` — convert anything implementing `Aerro` into a `tonic::Status`.
use Status;
use crate;
use crate::;
/// Convert a typed error or [`ServiceFailure`] into a `tonic::Status` for
/// transmission over gRPC.
///
/// Encoding applies exposure redaction and embeds the aerro envelope in the
/// status `details()` field. See [`EncodeOptions`] to control the egress
/// exposure tier and frame cap.