Class: 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.

Added in version 3.4.

List of all members, including inherited members

Class Hierarchy

Inheritance diagram of qgis.analysis.QgsGeometryCheckErrorSingle

Base classes

QgsGeometryCheckError

This represents an error reported by a geometry check.

Methods

singleError

The underlying single error.

class qgis.analysis.QgsGeometryCheckErrorSingle[source]

Bases: QgsGeometryCheckError

__init__(singleError: QgsSingleGeometryCheckError | None, layerFeature: QgsGeometryCheckerUtils.LayerFeature)

Creates a new error for a QgsSingleGeometryCheck.

Parameters:
__init__(a0: QgsGeometryCheckErrorSingle)
Parameters:

a0 (QgsGeometryCheckErrorSingle)

singleError(self) QgsSingleGeometryCheckError | None[source]

The underlying single error.

Return type:

Optional[QgsSingleGeometryCheckError]