Instantiating a class with an undefined amount fails without a helpful message

Issue #6 new
Roland van Ipenburg created an issue

Throw an exception just telling the amount was undefined.

Comments (2)

  1. Roland van Ipenburg reporter

    The vague error goes away if we replace undefined with $EMPTY, but we don’t know if that is the way to go.

  2. Roland van Ipenburg reporter

    It looks like the constructor of Moose always requires a hashref or a list of key-value pairs as arguments after the instance argument.

  3. Log in to comment