add a little more docs for errors
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
package render
|
||||
|
||||
/*
|
||||
This file was generated by render.xml on May 10 2012 11:56:19pm EDT.
|
||||
This file was generated by render.xml on May 11 2012 1:58:36am EDT.
|
||||
This file is automatically generated. Edit at your peril!
|
||||
*/
|
||||
|
||||
@@ -40,18 +40,6 @@ func init() {
|
||||
xgb.NewExtErrorFuncs["RENDER"] = make(map[int]xgb.NewErrorFun)
|
||||
}
|
||||
|
||||
// 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'
|
||||
|
||||
// Skipping definition for base type 'Char'
|
||||
|
||||
// Skipping definition for base type 'Card32'
|
||||
|
||||
// Skipping definition for base type 'Double'
|
||||
@@ -64,6 +52,18 @@ func init() {
|
||||
|
||||
// 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'
|
||||
|
||||
// Skipping definition for base type 'Char'
|
||||
|
||||
const (
|
||||
PictTypeIndexed = 0
|
||||
PictTypeDirect = 1
|
||||
@@ -1375,10 +1375,13 @@ func (err PictFormatError) SequenceId() uint16 {
|
||||
return err.Sequence
|
||||
}
|
||||
|
||||
// BadId returns the 'BadValue' number if one exists for the BadPictFormat error. If no bad value exists, 0 is returned.
|
||||
func (err PictFormatError) BadId() uint32 {
|
||||
return 0
|
||||
}
|
||||
|
||||
// Error returns a rudimentary string representation of the BadPictFormat error.
|
||||
|
||||
func (err PictFormatError) Error() string {
|
||||
fieldVals := make([]string, 0, 0)
|
||||
fieldVals = append(fieldVals, "NiceName: "+err.NiceName)
|
||||
@@ -1418,10 +1421,13 @@ func (err PictureError) SequenceId() uint16 {
|
||||
return err.Sequence
|
||||
}
|
||||
|
||||
// BadId returns the 'BadValue' number if one exists for the BadPicture error. If no bad value exists, 0 is returned.
|
||||
func (err PictureError) BadId() uint32 {
|
||||
return 0
|
||||
}
|
||||
|
||||
// Error returns a rudimentary string representation of the BadPicture error.
|
||||
|
||||
func (err PictureError) Error() string {
|
||||
fieldVals := make([]string, 0, 0)
|
||||
fieldVals = append(fieldVals, "NiceName: "+err.NiceName)
|
||||
@@ -1461,10 +1467,13 @@ func (err PictOpError) SequenceId() uint16 {
|
||||
return err.Sequence
|
||||
}
|
||||
|
||||
// BadId returns the 'BadValue' number if one exists for the BadPictOp error. If no bad value exists, 0 is returned.
|
||||
func (err PictOpError) BadId() uint32 {
|
||||
return 0
|
||||
}
|
||||
|
||||
// Error returns a rudimentary string representation of the BadPictOp error.
|
||||
|
||||
func (err PictOpError) Error() string {
|
||||
fieldVals := make([]string, 0, 0)
|
||||
fieldVals = append(fieldVals, "NiceName: "+err.NiceName)
|
||||
@@ -1504,10 +1513,13 @@ func (err GlyphSetError) SequenceId() uint16 {
|
||||
return err.Sequence
|
||||
}
|
||||
|
||||
// BadId returns the 'BadValue' number if one exists for the BadGlyphSet error. If no bad value exists, 0 is returned.
|
||||
func (err GlyphSetError) BadId() uint32 {
|
||||
return 0
|
||||
}
|
||||
|
||||
// Error returns a rudimentary string representation of the BadGlyphSet error.
|
||||
|
||||
func (err GlyphSetError) Error() string {
|
||||
fieldVals := make([]string, 0, 0)
|
||||
fieldVals = append(fieldVals, "NiceName: "+err.NiceName)
|
||||
@@ -1547,10 +1559,13 @@ func (err GlyphError) SequenceId() uint16 {
|
||||
return err.Sequence
|
||||
}
|
||||
|
||||
// BadId returns the 'BadValue' number if one exists for the BadGlyph error. If no bad value exists, 0 is returned.
|
||||
func (err GlyphError) BadId() uint32 {
|
||||
return 0
|
||||
}
|
||||
|
||||
// Error returns a rudimentary string representation of the BadGlyph error.
|
||||
|
||||
func (err GlyphError) Error() string {
|
||||
fieldVals := make([]string, 0, 0)
|
||||
fieldVals = append(fieldVals, "NiceName: "+err.NiceName)
|
||||
|
||||
Reference in New Issue
Block a user