function formatErrorMessage formatErrorMessage(context: ErrorContext): string Format the safe Sentry message and activity-log base. Parameters context: ErrorContext Return Type string