[erlang-questions] error terminology

Richard Carlsson richardc@REDACTED
Wed Sep 5 21:01:07 CEST 2007


Doug Edmunds wrote:
> Instead of calling all three of these 'errors' what is this correct
> terminology? Best I can come up with is syntax error, error message,
> and exit error.
> 
> Are there others?
> 
> A. syntax error ** 3:  syntax error before " . " **

Syntax error - I don't think that needs another name.

> B. error message (not really an error like the other two, actually a
> result) {error,{type_mismatch,"testfile.dets"}}

Trickier. Error code or error value, I think.

> C. exit error
> =ERROR REPORT==== 5-Sep-2007::10:16:32 === Error in process < 0.58.0>
with exit value:
> {undef,[{det,open_file,['woofbag.dets',[]]},{erl_eval,do_apply,5},{shell,exprs,6},{shell,eval_loop,3}]}

Runtime error exception.

    /Richard



More information about the erlang-questions mailing list