Skip to main content

scope_or_error

Function scope_or_error 

Source
async fn scope_or_error(
    facade: &Arc<dyn ReviewFacade>,
    slot: &SessionSlot,
    scope: Option<&str>,
) -> Result<ReviewScope, ToolOutput>
Expand description

Resolve the caller’s review scope or a ready-to-return tool error naming the step that failed (see ScopeError).