Skip to content

Validation Rule try/catch mismatch causes passed exception #22

@thumbtech

Description

@thumbtech

In ValueObjects/Url.php __construct you are throwing InvalidArgumentException but your try new Url($value) in Rules/EmbeddableUrl.php is catching ServiceNotFoundException so the exception is thrown.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions