Catch the correct type of translation error

Yeah, or something along the lines of 
```perl
unless(Exception::Class->caught('NonexistentAttributeException')) {
  die $@ if $@;
}
```
or, to avoid mixing $@ and Exception::Class: 
``````perl
unless(Exception::Class->caught('NonexistentAttributeException')) {
  if(my $error = Exception::Class->caught()) {
    die $error; #effectively rethrows if it was an exception
  }
}
```