utils

package
v1.5.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 18, 2025 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrUnauthorizedForbiddenBackoff = errors.New("operation currently blocked due to client side unauthorized/forbidden request limiting")

ErrUnauthorizedForbiddenBackoff is returned if an operation is blocked due to a recent unauthorized or forbidden request

Functions

func IsNotFoundError

func IsNotFoundError(err error) bool

func IsUnauthorizedOrForbiddenError added in v1.5.3

func IsUnauthorizedOrForbiddenError(err error) bool

IsUnauthorizedOrForbiddenError returns true for Unauthorized or Forbidden http errors otherwise it returns false NOTE: This helper only works for errors returned by go-anxcloud.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL