Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetError ¶
Retrieves a custom error struct based on the original error APIStatus struct Returns the original error struct in case it can't identify the kind of APIStatus error
func IsForbiddenError ¶ added in v0.16.1
IsForbiddenError returns true if given error can be converted to API status and of type forbidden access else false
Types ¶
type KNError ¶
type KNError struct { Status api_errors.APIStatus // contains filtered or unexported fields }
func NewInvalidCRD ¶ added in v0.27.0
func NewKNError ¶
Click to show internal directories.
Click to hide internal directories.