Simplify error/xerror.