Hi Juris and Tim,

> Am 2025-02-23 18:47, schrieb Juris Evertovskis:
> > As those are URI validation errors, maybe something like
> > `Uri\WhatWg\ValidationError` would be both less clashy and less
> > redundant?
>
> I like that suggestion.
>
> Best regards
> Tim Düsterhus
>

I liked it as well, so I changed the related classes the following way:

- Uri\WhatWg\WhatWgError became Uri\WhatWg\UrlValidationError
- Uri\WhatWg\WhatWgErrorType became Uri\WhatWg\UrlValidationErrorType

This way, WhatWg is not duplicated in the FQCN, but the class name is still
specific enough to possibly not clash with anything else.
I could also imagine removing the Url prefix, but I like it, since it
highlights that it's related to WHATWG URLs.

Regards,
Máté

Reply via email to