DOM Errors
Learn how to create a new Inphinit project.
Define severity levels
ERROR
use Inphinit\DOM\Document;
Document::setSeverityLevels(Document::ERROR);
FATAL
use Inphinit\DOM\Document;
Document::setSeverityLevels(Document::FATAL);
WARNING
use Inphinit\DOM\Document;
Document::setSeverityLevels(Document::WARNING);
All errors
use Inphinit\DOM\Document;
Document::setSeverityLevels(Document::ERROR | Document::FATAL | Document::WARNING);
Parse error
{placeholder}
use Inphinit\DOM\Document;