Skip to content
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

Suggestion: Better RuntimeException message #182

Open
hamidpeywasti opened this issue Aug 1, 2024 · 0 comments
Open

Suggestion: Better RuntimeException message #182

hamidpeywasti opened this issue Aug 1, 2024 · 0 comments

Comments

@hamidpeywasti
Copy link

hamidpeywasti commented Aug 1, 2024

Hi, here "XMLWriter" class is needed to be enabled not only "libxml".

if (! class_exists(XMLWriter::class)) {
throw new RuntimeException('You need to install the libxml extension to use this back end');
}

So, I think it's better to mention that 'You need to install the libxml extension and enable the XMLWriter class to use this back end'.

image

@hamidpeywasti hamidpeywasti changed the title Suggestion: Better RuntimeException is needed Suggestion: Better RuntimeException message Aug 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant