vxml_pipeline/feedback_boxes
Fixed-width terminal boxes for structured error messages.
Values
pub fn error_announcement(
fields: List(#(String, String)),
first_column_min: Int,
message_column_min: Int,
emoji: String,
margin: Int,
banner: String,
) -> String
Formats labeled error fields inside an emoji-bordered text box.
Field values are wrapped to a practical minimum width. first_column_min
and message_column_min set lower bounds rather than exact widths; margin
is the number of spaces before every output line.
pub fn mushroom_error_announcement(
title: String,
fields: List(#(String, String)),
) -> String
Formats the standard mushroom-bordered VXML Pipeline error box.