Class: QgsGeometryCheckErrorSingle

class qgis.analysis.QgsGeometryCheckErrorSingle

Bases: QgsGeometryCheckError

Wraps a QgsSingleGeometryError into a standard QgsGeometryCheckError. The single error can be obtained via singleError.

Note

This class is a technology preview and unstable API.

New in version 3.4.

QgsGeometryCheckErrorSingle(singleError: QgsSingleGeometryCheckError, layerFeature: QgsGeometryCheckerUtils.LayerFeature) Creates a new error for a QgsSingleGeometryCheck.

QgsGeometryCheckErrorSingle(QgsGeometryCheckErrorSingle)

Methods

singleError

The underlying single error.

singleError(self) QgsSingleGeometryCheckError

The underlying single error.

Return type:

QgsSingleGeometryCheckError