in reply to Exception::Class croak?

The ignore_class and ignore_package parameters are useful for this.
MyException->throw('ignore_package' => __PACKAGE__);
These are documented in Devel::Stacktrace.

Remember: There's always one more bug.