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

What is the difference between InvalidArgumentException and InvalidParamException? #729

Open
Tigrov opened this issue Jul 25, 2023 · 3 comments
Labels
status:ready for adoption Feel free to implement this issue.
Milestone

Comments

@Tigrov
Copy link
Member

Tigrov commented Jul 25, 2023

What is the difference between InvalidArgumentException and InvalidParamException?

Should be one replaced with another and then removed?

Q A
Version 1.1.0
PHP version any
Operating system any
@samdark
Copy link
Member

samdark commented Jul 25, 2023

Yes.

@samdark samdark added the status:ready for adoption Feel free to implement this issue. label Jul 25, 2023
@vjik
Copy link
Member

vjik commented Jul 25, 2023

Should we use own InvalidArgumentException or global \InvalidArgumentException will be enough?

@vjik vjik added this to the 2.0.0 milestone Jul 25, 2023
@samdark
Copy link
Member

samdark commented Jul 25, 2023

Global one is enough.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status:ready for adoption Feel free to implement this issue.
Projects
None yet
Development

No branches or pull requests

3 participants