Skip to content

The message thrown should match the failed constraint #3

@autarch

Description

@autarch

Migrated from rt.cpan.org #84351 (status was 'open')

Requestors:

From drolsky@cpan.org (@autarch) on 2013-04-01 19:26:39:

When a type inherits from a series of parents, the failure message it throws should come from the failing parent if that parent's constraint fails.

This will require some changes to how inlining works. Maybe the inlined constraint needs to return false on success and return a failure message on failure?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions