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 ¶
IsForbiddenError returns true if given error can be converted to API status and of type forbidden access else false
Types ¶
Click to show internal directories.
Click to hide internal directories.