Write a failure message

SolidGroundUX DocumentationSolidGroundUX
NL

fn: sayfail

Purpose

Report a failed operation through the SolidGroundUX message layer.

Behavior

  • Delegates to say FAIL.
  • Defaults to SGND_UI_ERROR_DELAY (fallback 0.5); an explicit --delay supplied by the caller overrides it.

Arguments

  • $@ — Message text to write.

Output

Writes the formatted failure message to the configured console/log targets.

Returns

  • 0 when the message was handled.

Usage

  sayfail "Example failure"