Structured exceptions for Moose