db icon indicating copy to clipboard operation
db copied to clipboard

What is the difference between `InvalidArgumentException` and `InvalidParamException`?

Open Tigrov opened this issue 2 years ago • 3 comments

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

Tigrov avatar Jul 25 '23 05:07 Tigrov

Yes.

samdark avatar Jul 25 '23 06:07 samdark

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

vjik avatar Jul 25 '23 06:07 vjik

Global one is enough.

samdark avatar Jul 25 '23 06:07 samdark