Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildErrorEnum ¶
func BuildErrorEnum(enum interface{}, startCode int64)
func SimpleBuild ¶
func SimpleBuild(enums interface{})
Types ¶
type Element ¶
type Element struct {
// contains filtered or unexported fields
}
func (*Element) Description ¶
type ErrorElement ¶
type ErrorElement struct {
// contains filtered or unexported fields
}
func (ErrorElement) Code ¶
func (e ErrorElement) Code() int64
func (ErrorElement) Error ¶
func (e ErrorElement) Error() string
func (ErrorElement) Name ¶
func (e ErrorElement) Name() string
func (ErrorElement) NewErrorWithData ¶
func (e ErrorElement) NewErrorWithData(msg string, data interface{}) *ErrorElementWithData
func (ErrorElement) NewErrorWithNewMessage ¶
func (e ErrorElement) NewErrorWithNewMessage(msg string) ErrorElement
type ErrorElementWithData ¶
type ErrorElementWithData struct { ErrorElement // contains filtered or unexported fields }
func (ErrorElementWithData) Data ¶
func (e ErrorElementWithData) Data() interface{}
Click to show internal directories.
Click to hide internal directories.