Added static method to convert arbitrary ErrorID to a string.
Updated tests to print ErrorID and bool values as strings.
diff --git a/tinyxml2.h b/tinyxml2.h
index 12b204f..b7f822f 100755
--- a/tinyxml2.h
+++ b/tinyxml2.h
@@ -1749,6 +1749,7 @@
         return _errorID;

     }

 	const char* ErrorName() const;

+    static const char* ErrorName(XMLError errorID);

 

     /// Return a possibly helpful diagnostic location or string.

     const char* GetErrorStr1() const {