[PATCH 1/2] parthelper: Initialize error object