Under the hood
Error text is sliced to 4096 characters before being truncated for display, with the total count appended.
Error message truncation used for logs and telemetry now first slices input to 4096 characters before truncating to a 512-code-unit display limit, appending a suffix with the total character count when truncation occurs.