aws

package
v0.7.3 Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IgnoreErrorCode

func IgnoreErrorCode(err error, errCode string) error

IgnoreErrorCode will return nil if the input error is a valid awserr.Error matching the given errCode. It will return the input error as-is otherwise

func IgnoreErrorCodef

func IgnoreErrorCodef(format string, err error, errCode string) error

IgnoreErrorCodef will return nil if the input error is a valid awserr.Error matching the given errCode. It will return the input error formatted with the given format otherwise following fmt.Errorf behavior

func IsErrorCode

func IsErrorCode(err error, errCode string) bool

IsErrorCode returns whether the given error matches an AWS error with the given errCode. If the input error is not a valid awserr.Error, it returns false

Types

This section is empty.

Jump to

Keyboard shortcuts

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