Try: 1> A = (catch 1/0). {'EXIT',{badarith,[{erl_eval,eval_op,3}, {erl_eval,expr,3}, {erl_eval,exprs,4}, {shell,eval_loop,2}]}} It's a parser thing... /Tobbe