Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EnumErr ¶ added in v0.15.9
type EnumErr struct {
// contains filtered or unexported fields
}
func (EnumErr) GetClientData ¶ added in v0.15.9
func (pe EnumErr) GetClientData() interface{}
func (EnumErr) GetUserMsg ¶ added in v0.15.9
type ErrorCodeGoa ¶
type ErrorCodeGoa struct {
// contains filtered or unexported fields
}
func AsErrorCodeGoa ¶
func AsErrorCodeGoa(err error) *ErrorCodeGoa
func ErrorCodeToGoa ¶
func ErrorCodeToGoa(errCode errcode.ErrorCode) ErrorCodeGoa
func ErrorResponse ¶
func ErrorResponse(err error) ErrorCodeGoa
func ServiceErrorToErrorCode ¶ added in v0.13.0
func ServiceErrorToErrorCode(err *goalib.ServiceError) ErrorCodeGoa
func (ErrorCodeGoa) Code ¶
func (ec ErrorCodeGoa) Code() errcode.Code
func (ErrorCodeGoa) Error ¶
func (ec ErrorCodeGoa) Error() string
func (ErrorCodeGoa) GoaErrorName ¶
func (ec ErrorCodeGoa) GoaErrorName() string
fulfill GOA expectation
func (ErrorCodeGoa) MarshalJSON ¶ added in v0.15.3
func (ec ErrorCodeGoa) MarshalJSON() ([]byte, error)
func (ErrorCodeGoa) Unwrap ¶
func (ec ErrorCodeGoa) Unwrap() error
type FieldClientData ¶ added in v0.15.8
type FieldValueClientData ¶ added in v0.15.6
type FieldValueClientData struct { FieldClientData Value string }
type FormatErr ¶ added in v0.15.6
type FormatErr struct {
// contains filtered or unexported fields
}
func (FormatErr) GetClientData ¶ added in v0.15.6
func (fe FormatErr) GetClientData() interface{}
func (FormatErr) GetUserMsg ¶ added in v0.15.6
type MissingFieldErr ¶ added in v0.15.8
type MissingFieldErr struct {
// contains filtered or unexported fields
}
func (MissingFieldErr) Error ¶ added in v0.15.8
func (me MissingFieldErr) Error() string
func (MissingFieldErr) GetClientData ¶ added in v0.15.8
func (me MissingFieldErr) GetClientData() interface{}
func (MissingFieldErr) GetUserMsg ¶ added in v0.15.8
func (me MissingFieldErr) GetUserMsg() string
func (MissingFieldErr) Unwrap ¶ added in v0.15.8
func (me MissingFieldErr) Unwrap() error
type PatternErr ¶ added in v0.15.5
type PatternErr struct {
// contains filtered or unexported fields
}
func (PatternErr) Error ¶ added in v0.15.5
func (pe PatternErr) Error() string
func (PatternErr) GetClientData ¶ added in v0.15.5
func (pe PatternErr) GetClientData() interface{}
func (PatternErr) GetUserMsg ¶ added in v0.15.5
func (pe PatternErr) GetUserMsg() string
func (PatternErr) Unwrap ¶ added in v0.15.5
func (pe PatternErr) Unwrap() error
Click to show internal directories.
Click to hide internal directories.