[erlang-questions] smart_exceptions doesn't work on R12B

devdoer bird devdoer2@REDACTED
Mon Mar 9 16:17:39 CET 2009


HI:

Is smart exceptions in jungerl still in developement? I tested it on R12B
,but got a exception.
I  try to add smart_exceptions when compiling mochiweb_response.erl ,  but
got the exception:
mochiweb/mochiweb_response.erl:none: error in parse transform
'smart_exceptions': {function_clause,
                                              [{smart_exceptions,forms,
                                                [{mochiweb_response,
                                                  ['Request','Code',
                                                   'Headers']},
                                                 smart_exit,
                                                 [{attribute,1,file,

{"mochiweb/mochiweb_response.erl",
                                                    1}},
                                                  {attribute,6,module,
                                                   {mochiweb_response,
                                                    ['Request','Code',
                                                     'Headers']}},
                                                  {attribute,7,author,
                                                   'bob@REDACTED'},
                                                  {attribute,11,export,
                                                   [{get_header_value,1},
                                                    {get,1},
                                                    {dump,0}]},
                                                  {attribute,12,export,

[{send,1},{write_chunk,1}]},
                                                  {function,16,
                                                   get_header_value,1,
                              ...........

So
1.  Is the smart_exception still maintained?
2. How can I fix that exception ?

Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20090309/5b879157/attachment.htm>


More information about the erlang-questions mailing list