Class: QgsGeometryCheckErrorSingle

class qgis.analysis.QgsGeometryCheckErrorSingle(singleError: QgsSingleGeometryCheckError, layerFeature: QgsGeometryCheckerUtils.LayerFeature)

Bases: QgsGeometryCheckError

Creates a new error for a QgsSingleGeometryCheck.

QgsGeometryCheckErrorSingle(QgsGeometryCheckErrorSingle)

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:

Methods

singleError

The underlying single error.

singleError(self) QgsSingleGeometryCheckError

The underlying single error.

Return type

QgsSingleGeometryCheckError