Use ExecutionPlan#error method

in plan phase there is only one error, using first