Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrBreak is an error used to break out of call back based iteration, // should be swallowed by iteration functions and treated as successful // iteration. ErrBreak = fmt.Errorf("BREAK") )
Functions ¶
func IsAlreadyExistError ¶
IsAlreadyExistError returns true if err is due to trying to create a resource that already exists. It uses simple string matching, it's not terribly smart.
func IsNotFoundError ¶ added in v1.7.0
IsNotFoundError returns true if err is due to a resource not being found. It uses simple string matching, it's not terribly smart.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.