Skip to main content

fatal

Function fatal 

Source
pub fn fatal(
    rsp: &mut RunFunctionResponse,
    message: impl Into<String>,
) -> &mut Result
Expand description

Adds a fatal result to the response.

Crossplane stops the pipeline at the first fatal result: later steps do not run, and for that reconcile Crossplane applies no desired state and garbage-collects nothing. The reconcile error carries the message: pipeline step "<step>" returned a fatal result: <message>.