Skip to content

[Uid] add value to InvalidArgumentException #60323

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

Open
wants to merge 1 commit into
base: 7.3
Choose a base branch
from

Conversation

rela589n
Copy link
Contributor

@rela589n rela589n commented May 2, 2025

Q A
Branch? 7.3
Bug fix? no
New feature? yes
Deprecations? no
Follows from symfony/symfony-docs#20900 ,
[Uid] Add component-specific exception classes ,
[HttpFoundation] Add UriSigner::verify() that throws named exceptions
License MIT

This PR adds value to Uid-specific InvalidArgumentException.

Thus, anybody who wants to catch the exception, being outside of the scope of the client code, will be able to do so, having the knowledge of what particularly has gone wrong.

@rela589n rela589n force-pushed the feat-invalid-argument-exception-value branch from 3982cdf to f4a50b9 Compare May 2, 2025 07:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants