finish_with_error

Function finish_with_error 

Source
pub fn finish_with_error(pb: &ProgressBar)
Expand description

Finishes a spinner with an error mark (✗) instead of a checkmark. Used for error paths to visually indicate failure.

§Arguments

  • pb - The progress bar to finish with an error mark