Skip to main content

plan_error_message

Function plan_error_message 

Source
pub fn plan_error_message(error: &PlanError) -> String
Expand description

What: The complete diagnostic for a planning failure, naming the input and every way forward. Why: The person who ran the command must be able to act without reading the source.

In TS you’d write (pseudocode):

function planErrorMessage(error: PlanError): string;