format_error_val function

Format value for error message

Format value for error message

format_error_val(x)

Arguments

  • x: value to format

Returns

If x is atomic, x with cli formatting to truncate to 5 values. Otherwise, a string summarizing x produced by as_label