Merge branch 'jc/coding-guidelines'
[gitweb.git] / Documentation / CodingGuidelines
index ae8b42f3bec51d79154ab4a2359a12502af03bdc..578d07c03419bf0d49b38c68feb77ce6dffd8d72 100644 (file)
@@ -409,6 +409,15 @@ For Python scripts:
    documentation for version 2.6 does not mention this prefix, it has
    been supported since version 2.6.0.
 
+Error Messages
+
+ - Do not end error messages with a full stop.
+
+ - Do not capitalize ("unable to open %s", not "Unable to open %s")
+
+ - Say what the error is first ("cannot open %s", not "%s: cannot open")
+
+
 Writing Documentation:
 
  Most (if not all) of the documentation pages are written in the