Skip to main content

authorization_error

Function authorization_error 

Source
pub fn authorization_error(id: Option<&Value>, reason: &str) -> Value
Expand description

Build the JSON-RPC error response for a blocked call (the “immediate authorization error back to the agent loop” from the brief).