Class: QgsValidityCheckResult¶
Represents an individual result from a validity check run by a
QgsAbstractValidityCheck
subclass.
Results can either be warnings or critical errors, as dictated by the type member. Critical error are errors which are serious enough to prevent an operation from proceeding, while a warning result will be communicated to users, but not prevent them from proceeding.
Added in version 3.6.
Attributes
ID of the check which generated the result. |
|
Detailed description of the result (translated), giving users enough detail for them to resolve the error. |
|
A short, translated string summarising the result. |
|
Result type |
- class qgis.core.QgsValidityCheckResult[source]¶
Bases:
object
- Critical = 1¶
- class Type¶
Bases:
int
- Warning = 0¶
- checkId: str¶
ID of the check which generated the result. This is usually automatically populated.
- detailedDescription: str¶
Detailed description of the result (translated), giving users enough detail for them to resolve the error.
- title: str¶
A short, translated string summarising the result. Ideally a single sentence.