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

David Welton <>
Tue Feb 11 14:09:06 CET 2014

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 @@
     <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>


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.

David N. Welton



More information about the erlang-patches mailing list