Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExtractAPIErrors ¶
ExtractAPIErrors tries to extract kong.APIErrors from the generic error. It might be used when inspection of the error details is needed, e.g. its status code.
func ExtractCRUDActionErrors ¶ added in v3.1.0
func ExtractCRUDActionErrors(err error) []*crud.ActionError
func IsConflictErr ¶
Types ¶
type ConfigConflictError ¶
type ConfigConflictError struct {
Err error
}
ConfigConflictError is an error used to wrap deck config conflict errors returned from deck functions transforming KongRawState to KongState (e.g. state.Get, dump.Get).
func (ConfigConflictError) Error ¶
func (e ConfigConflictError) Error() string
func (ConfigConflictError) Is ¶
func (e ConfigConflictError) Is(err error) bool
func (ConfigConflictError) Unwrap ¶
func (e ConfigConflictError) Unwrap() error
Click to show internal directories.
Click to hide internal directories.