Skip to main content

model_refusal_code

Function model_refusal_code 

Source
pub fn model_refusal_code(value: &Value) -> Result<i32>
Expand description

Resolve a refusal the model named — C_PRINCIPAL_UNKNOWN, KDC_ERR_POLICY, policy or the number — to a code in MODEL_REFUSALS.