db
db copied to clipboard
What is the difference between `InvalidArgumentException` and `InvalidParamException`?
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 |
Yes.
Should we use own InvalidArgumentException or global \InvalidArgumentException will be enough?
Global one is enough.