export async function loadProfile(userId: string) {
try {
return await api.get(`/users/${userId}/profile`)
} catch (error) {
throw error
}
}Deterministic AST match on JS/TS: flags try statements without `finally` whose catch body is a single `throw err` or `return Promise.reject(err)` of the caught binding.