Added ability to return value of cause_raised function