pub fn format_error(err: &BondError) -> String
Formats an error message for display to the user, including a colored prefix based on the error kind.