in reply to Throw customized exception without throwing

What is your question? How Fatal does its magic? If yes, look in the source code.

Or is your question if you can use Fatal for non-builtin functions? (if yes, just try it - I think it should work)

Note that Fatal does throw exceptions, though it's perhaps not obvious from the code that uses fatalized functions.

And what exactly do you mean with "customized exceptions"? Exception Objects? Or just different error messages?

  • Comment on Re: Throw customized exception with throwing