show error and cost separately