Class: QgsGeometryCheckErrorSingle¶
- class qgis.analysis.QgsGeometryCheckErrorSingle¶
Bases:
QgsGeometryCheckError
Wraps a
QgsSingleGeometryError
into a standardQgsGeometryCheckError
. The single error can be obtained via singleError.Note
This class is a technology preview and unstable API.
Added in version 3.4.
QgsGeometryCheckErrorSingle(singleError: Optional[QgsSingleGeometryCheckError], layerFeature: QgsGeometryCheckerUtils.LayerFeature) Creates a new error for a
QgsSingleGeometryCheck
.QgsGeometryCheckErrorSingle(a0:
QgsGeometryCheckErrorSingle
)- singleError(self) QgsSingleGeometryCheckError | None ¶
The underlying single error.
- Return type:
Optional[QgsSingleGeometryCheckError]