Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Data-Rx CPAN distribution.

Report information
The Basics
Id: 60591
Status: resolved
Priority: 0/
Queue: Data-Rx

People
Owner: Nobody in particular
Requestors: CALDRIN [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.100110
Fixed in: (no value)



Subject: Error message does not state WHAT went wrong
When your data does not match the given schema Data::Rx does not tell you which constraint in the schema was not fulfilled. This is unsatisfying especially when the data and schema are quite big.
I totally agree that this is unsatisfying. I've been working (in my very limited free time for this project) on a struct-fail branch that adds a mechanism for reporting structured failures with an API standardized for the various implementations. I'd like to get it working soon, but it's a big job and I haven't had sufficient time. Sorry. -- rjbs
this was fixed some time ago -- rjbs