##
MyException::SomeThingy' => {
isa => 'MyException',
description => 'Bad things happen here.',
fields => [ 'descriptor', 'value' ],
};
##
##
MyException::SomeThingy->throw(
'error' => 'You did something I didnt like.',
'descriptor' => 'DontDoThat',
'value' => $bad_variable,
);