aboutsummaryrefslogtreecommitdiff
path: root/nexgb/xfixes
diff options
context:
space:
mode:
authorAndrew Gallant (Ocelot) <Andrew.Gallant@tufts.edu>2012-05-11 01:58:52 -0400
committerAndrew Gallant (Ocelot) <Andrew.Gallant@tufts.edu>2012-05-11 01:58:52 -0400
commit3e6b3544934cb71e3a3b0edf9bc184241ac1ad7f (patch)
treec9f52fa078fc860d7327e7a8441b2b7bc07f7cce /nexgb/xfixes
parentc00652934e4ec68016a152b9bea10273b0be8726 (diff)
downloadhaven-3e6b3544934cb71e3a3b0edf9bc184241ac1ad7f.tar.gz
haven-3e6b3544934cb71e3a3b0edf9bc184241ac1ad7f.tar.xz
haven-3e6b3544934cb71e3a3b0edf9bc184241ac1ad7f.zip
add a little more docs for errors
Diffstat (limited to 'nexgb/xfixes')
-rw-r--r--nexgb/xfixes/xfixes.go21
1 files changed, 12 insertions, 9 deletions
diff --git a/nexgb/xfixes/xfixes.go b/nexgb/xfixes/xfixes.go
index b5d9c14..67dff6a 100644
--- a/nexgb/xfixes/xfixes.go
+++ b/nexgb/xfixes/xfixes.go
@@ -2,7 +2,7 @@
package xfixes
/*
- This file was generated by xfixes.xml on May 10 2012 11:56:19pm EDT.
+ This file was generated by xfixes.xml on May 11 2012 1:58:36am EDT.
This file is automatically generated. Edit at your peril!
*/
@@ -42,6 +42,14 @@ func init() {
xgb.NewExtErrorFuncs["XFIXES"] = make(map[int]xgb.NewErrorFun)
}
+// Skipping definition for base type 'Int16'
+
+// Skipping definition for base type 'Int32'
+
+// Skipping definition for base type 'Void'
+
+// Skipping definition for base type 'Byte'
+
// Skipping definition for base type 'Int8'
// Skipping definition for base type 'Card16'
@@ -58,14 +66,6 @@ func init() {
// Skipping definition for base type 'Card8'
-// Skipping definition for base type 'Int16'
-
-// Skipping definition for base type 'Int32'
-
-// Skipping definition for base type 'Void'
-
-// Skipping definition for base type 'Byte'
-
const (
SaveSetModeInsert = 0
SaveSetModeDelete = 1
@@ -341,10 +341,13 @@ func (err BadRegionError) SequenceId() uint16 {
return err.Sequence
}
+// BadId returns the 'BadValue' number if one exists for the BadBadRegion error. If no bad value exists, 0 is returned.
func (err BadRegionError) BadId() uint32 {
return 0
}
+// Error returns a rudimentary string representation of the BadBadRegion error.
+
func (err BadRegionError) Error() string {
fieldVals := make([]string, 0, 0)
fieldVals = append(fieldVals, "NiceName: "+err.NiceName)