[erlang-questions] parse_transform and error messages

Paul Guyot pguyot@REDACTED
Fri Oct 31 17:45:38 CET 2008


Hello,

Is there a way to generate nice error messages (and warnings) with  
parse_transform? I currently raise a custom error to make compilation  
fail, but the error message could be nicer.

For example, I wish I could raise an undefined_module error, so it  
would print a message just like erl_lint does when -module attribute  
isn't defined.

Paul




More information about the erlang-questions mailing list