severity: unsigned short(3)
This attribute indicates the severity of the error, which will be one of the constants from the following table:
Severity constant | Value | Meaning |
---|---|---|
SEVERITY_WARNING | 1 | This is an "informational" error, and DOM processing may proceed normally. |
SEVERITY_ERROR | 2 | This is a possibly recoverable error (such as a schema validation problem in an otherwise well-formed document). |
SEVERITY_FATAL_ERROR | 3 | An unrecoverable error (such as a well-formedness problem) has occurred. |