Skip to main content

internal

Function internal 

Source
pub fn internal(e: impl Display) -> (i64, String)
Expand description

Map an internal failure to (ERR_INTERNAL, "internal error"): log the detail locally, NEVER echo it to the caller (a retriever IO error may embed a filesystem path — e.g. a hashed audience dir — that must not reach a peer or even the owner surface).