function formatErrorMessage formatErrorMessage(context: ErrorContext): string Format an error context into a human-readable activity log message Parameters context: ErrorContext Return Type string