add back error code accessor