Format Error objects using .stack