Skip to main content

project_authorization_error

Function project_authorization_error 

Source
pub fn project_authorization_error(error: &AuthServiceError) -> LayerFailureKind
Expand description

Classifies an authorization failure for the fail-closed layered contract.

This classification carries no underlying error text. Callers must use the fixed denial output from rocketmq-security-api rather than returning the source error to a peer.