Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type APIError ¶
type APIError struct {
// contains filtered or unexported fields
}
func NewInvalid ¶
func NewInvalid(kind fmt.Stringer, errs ErrorFieldAggregate) *APIError
type ErrorField ¶
type ErrorField string
func NewInvalidField ¶
func NewInvalidField(path string, value string, detail string) ErrorField
func NewMissingField ¶
func NewMissingField(path string) ErrorField
type ErrorFieldAggregate ¶
type ErrorFieldAggregate []ErrorField
func (ErrorFieldAggregate) String ¶
func (agg ErrorFieldAggregate) String() string
Click to show internal directories.
Click to hide internal directories.