pub fn internal_error(context: &str, err: &dyn Display) -> String
Return a 500 error with a generic message. Logs the actual error server-side to avoid leaking internal details (account IDs, ARNs) in HTTP responses.