CarpenterCommandFailureMessageMapper typedef

CarpenterCommandFailureMessageMapper = String? Function(CarpenterCommandFailed event)

Maps a failed command event to optional user-facing copy without exposing raw technical errors by default.

Implementation

typedef CarpenterCommandFailureMessageMapper =
    String? Function(CarpenterCommandFailed event);