Skip to main content

render_failure_view

Function render_failure_view 

Source
pub fn render_failure_view<'a>(
    spec: &'a Spec<'a>,
    argv: &[&OsStr],
    error: &Error<'_, '_>,
    view: &'a ViewMeta<'a>,
) -> String
Expand description

Render a failure through a spec-declared executable view.

argv is the original full argv, including the view executable as argv0.