CaptureZonePrintErr typedef

CaptureZonePrintErr = void Function(String?)

Error output utilities for CLI applications.

This module provides functions for writing error messages to stderr, following CLI conventions where errors go to stderr and normal output goes to stdout. Callback function type for capturing stderr output.

This is used when overriding printerr behavior in zones.

Implementation

/// Callback function type for capturing stderr output.
///
/// This is used when overriding [printerr] behavior in zones.
typedef CaptureZonePrintErr = void Function(String?);