errors

package
v0.36.1 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IgnoreAlreadyExists

func IgnoreAlreadyExists(err error) error

func IgnoreNotFound

func IgnoreNotFound(err error) error

func IsAlreadyExists

func IsAlreadyExists(err error) bool

func IsLaunchTemplateNotFound

func IsLaunchTemplateNotFound(err error) bool

func IsNotFound

func IsNotFound(err error) bool

IsNotFound returns true if the err is an AWS error (even if it's wrapped) and is a known to mean "not found" (as opposed to a more serious or unexpected error)

func IsUnfulfillableCapacity

func IsUnfulfillableCapacity(err *ec2.CreateFleetError) bool

IsUnfulfillableCapacity returns true if the Fleet err means capacity is temporarily unavailable for launching. This could be due to account limits, insufficient ec2 capacity, etc.

Types

This section is empty.

Jump to

Keyboard shortcuts

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