[erlang-patches] human readable strings from {Errorline, Module, ErrorDescriptor}

Pierre Fenoll <>
Mon Feb 17 13:34:40 CET 2014


Hey David,

Maybe there are more man pages to change:
http://erldocs.com/?search=format_error#format_error

I did not look into all of those modules but I guess some may lack the
information you're adding.


Cheers,
-- 
Pierre Fenoll



On 17 February 2014 10:39, David Welton <> wrote:

> Ok, I think I can follow that and do a pull request with all the man
> pages to patch if the basic information to include in the patch makes
> sense.  If it should not be included there, I guess no one needs to do
> any work.
>
> Thanks.
>
> BTW, that page says:
>
> "whether it is a bug-fix och if it is a new feature"
>
> 'och' should probably be 'or'.  I took the liberty of changing it.
>
>
> On Mon, Feb 17, 2014 at 7:59 AM, Henrik Nord <> wrote:
> > Hello
> >
> > I will take a look at this today.
> >
> > If possible, try to follow
> > https://github.com/erlang/otp/wiki/Submitting-patches when submitting a
> > patch.
> > Even minor ones, if you make use of githubs "pull-request" it will save
> us
> > alot of manual labor.
> >
> >
> > On 2014-02-11 14:09, David Welton wrote:
> >>
> >> This is very minor, so I'm just sending a patch here:
> >>
> >> --- a/lib/stdlib/doc/src/erl_parse.xml
> >> +++ b/lib/stdlib/doc/src/erl_parse.xml
> >> @@ -200,6 +200,12 @@
> >>         </p>
> >>       <code type="none">
> >>       Module:format_error(ErrorDescriptor)    </code>
> >> +    <p>
> >> +      It is also possible to obtain a human-readable string
> >> describing the error with this function:
> >> +    </p>
> >> +    <code type="none">
> >> +    file:format_error({Errorline, Module, ErrorDescriptor})    </code>
> >> +
> >>     </section>
> >>
> >>     <section>
> >>
> >> This could also be added to io.xml, epp.xml, erl_lint.xml and
> >> erl_scan.xml.
> >>
> >> If needs be, I guess I could create a branch, pull request, and so on.
> >>
> >
> > --
> > /Henrik Nord Erlang/OTP
> >
>
>
>
> --
> David N. Welton
>
> http://www.welton.it/davidw/
>
> http://www.dedasys.com/
> _______________________________________________
> erlang-patches mailing list
> 
> http://erlang.org/mailman/listinfo/erlang-patches
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-patches/attachments/20140217/4ea939a8/attachment.html>


More information about the erlang-patches mailing list