propagating the error into the reject codepath