pub struct CatalogAuthenticationRequiredError {
pub kind: CatalogAuthenticationRequiredErrorKind,
pub message: String,
pub reason: CatalogAuthenticationRequiredReason,
}Expand description
An optional catalog authentication exchange did not establish the caller’s identity. Anonymous search remains supported; this refusal is reserved for an operation that cannot continue after the attempted exchange. It is distinct from policy-rejected and from a network failure, and the reason identifies the recovery action.
Experimental. This type is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases.
Fields§
§kind: CatalogAuthenticationRequiredErrorKindDiscriminator: the caller is not authenticated
message: StringHuman-readable explanation, safe to surface. Never contains a credential or token, nor a query, URL, handle, or secret.
reason: CatalogAuthenticationRequiredReasonWhy authentication failed. Only an expired credential justifies attempting a silent refresh; an absent or rejected credential requires sign-in.
Trait Implementations§
Source§impl Clone for CatalogAuthenticationRequiredError
impl Clone for CatalogAuthenticationRequiredError
Source§fn clone(&self) -> CatalogAuthenticationRequiredError
fn clone(&self) -> CatalogAuthenticationRequiredError
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more