[erlang-questions] Inconsistent catch behaviour

Adam Lindberg adam@REDACTED
Thu Jun 18 10:58:17 CEST 2009


----- "Kostis Sagonas" <kostis@REDACTED> wrote:
> Ulf Wiger has already answered this question, but I want to ask a 
> different one.  Why should one bother these days with catch (even 
> mention it on this mailing list) when try-catch is available?

Because QuickCheck doesn't handle throws yet. I just needed a quick fix to induce a bad match in my test case.

Cheers,
Adam


More information about the erlang-questions mailing list