pub trait ErrorIdentityProvider {
// Required methods
fn stable_code(&self) -> &'static str;
fn error_category(&self) -> ErrorCategory;
}Expand description
Runtime identity provider for stable error codes and categories.
Implemented automatically by #[derive(OrionError)]. Used by
StructError::exposure
and the protocol projection layer to determine visibility and
exposure decisions.