-
Notifications
You must be signed in to change notification settings - Fork 752
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Normalize error sections in DOM #4225
Comments
Hey, Is there an example of error section with the problem? |
Hi If we take a look at this manual page https://www.php.net/manual/en/domcharacterdata.substringdata.php under the "Errors/Exceptions" section it says:
However, it's not clear that this is a code within the DOMException class. |
I want to start this issue but I'm not very sure about how to start, do you have any ideas? |
I don't think this is the best issue to start working on the documentation. I would recommend looking at one of the other Good First Issues to get familiar with the documentation conventions and the build process. |
Many DOM error section just list the constant for the $code for DOMException, but don't actually say anywhere that it's a DOMException being thrown.
Although it should still be clear that for the old DOM classes, one can use
DOMElement::$strictErrorChecking
to make it work with warnings instead.The text was updated successfully, but these errors were encountered: