errutils

package
v1.32.2 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckResourceExistsFromAzcoreError

func CheckResourceExistsFromAzcoreError(err error) (bool, error)

func GetVMSSMetadataByRawError added in v1.32.0

func GetVMSSMetadataByRawError(err error) (string, string, error)

GetVMSSMetadataByRawError gets the vmss name by parsing the error message

func HasStatusForbiddenOrIgnoredError added in v1.32.0

func HasStatusForbiddenOrIgnoredError(err error) bool

HasStatusForbiddenOrIgnoredError return true if the given error code is part of the error message This should only be used when trying to delete resources

Types

This section is empty.

Jump to

Keyboard shortcuts

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