Tesla interview question

How would you return an exception from a void function?