Return explicit null error for successful batch.write()