ex-tackle icon indicating copy to clipboard operation
ex-tackle copied to clipboard

An uncaught exception handler

Open shiroyasha opened this issue 8 years ago • 1 comments

The current best solution is:

def handle_message(message)
  try do
     :a + 1
  rescue 
      e -> 
           # do soemthing
           raise e
  end
end

@snehaso suggested that we could have an on_uncought_exception handler.

I think that sounds good ^ 👍

shiroyasha avatar Oct 18 '16 08:10 shiroyasha

Maybe to call it exception_handler

predrag-rakic avatar Oct 19 '16 14:10 predrag-rakic