[gxml] DomException: add X_OTHER for a generic error code that's not part of the DOM spec



commit f46ca9e2eb81e634dc863610a8b66a6b53ef0f6b
Author: Richard Schwarting <aquarichy gmail com>
Date:   Mon Oct 14 04:37:29 2013 -0400

    DomException: add X_OTHER for a generic error code that's not part of the DOM spec

 gxml/DomException.vala |    9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)
---
diff --git a/gxml/DomException.vala b/gxml/DomException.vala
index d9b1e64..ec707b2 100644
--- a/gxml/DomException.vala
+++ b/gxml/DomException.vala
@@ -106,7 +106,14 @@ namespace GXml {
                 * Version: DOM Level 3 Core<<BR>>
                 * URL: [[http://www.w3.org/TR/DOM-Level-3-Core/core.html#DOMException-NAMESPACE_ERR]]
                 */
-               NAMESPACE;
+               NAMESPACE,
+
+               /**
+                * Non-DOM error
+                *
+                * TODO: consider better naming for this
+                */
+               X_OTHER;
        }
 }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]