1. Document Object Model Requirements
1.8 Error Reporting
The DOM will provide a document-wide error logging and reporting mechanism.
Error reporting will be primarily via exceptions.
The DOM error state can be queried.