The Claude Code and CodeBuddy providers report failure as
finish_reason="error" with the reason carried in the result message's
text. The CLI only fills that text when the turn produced assistant
output, so a turn that dies on a rejected tool call or on max_turns ended
empty and reached the operator as a bare "Error calling Claude Code: "
with nothing after the colon (#2539).
- sdk_bridge: render a blank result through a new _result_detail(), which
keeps the CLI's own wording when present, maps the SDK's subtype
(error_max_turns / error_during_execution / error_max_budget_usd) to a
sentence, and never returns an empty string.
- claude_code / codebuddy providers: _friendly_error() names the exception
type for a blank exception instead of echoing nothing.
Both SDK backends share the bridge, so one fix covers both.