package
5.64.0+incompatible
Repository: https://github.com/hashicorp/terraform-provider-aws.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author

# Functions

APIError returns a new error suitable for checking via aws-sdk-go-base/tfawserr.
As is equivalent to errors.As(), but returns the value in-line.
No description provided by the author
Contains returns true if the error matches all these conditions: - err as string contains needle.
IsA indicates whether an error matches an error type.
IsAErrorMessageContains returns whether or not the specified error is of the specified type and its ErrorMessage() value contains the specified needle.
IsUnsupportedOperationInPartitionError checks the partition and specific error to make an educated guess about whether the problem stems from a feature not being available in a non-standard partitions (e.g.
MessageContains unwraps the error and returns true if the error matches all these conditions: - err is of type awserr.Error, Error.Code() equals code, and Error.Message() contains message - OR err if not of type awserr.Error as string contains both code and message.
Must is a generic implementation of the Go Must idiom [1, 2].
NewAttributeConflictsWhenError returns an error diagnostic indicating that the attribute at the given path cannot be specified when the attribute at otherPath has the given value.
NewAttributeConflictsWhenWillBeError returns a warning diagnostic indicating that the attribute at the given path cannot be specified when the attribute at otherPath has the given value.
NewAttributeConflictsWillBeError returns a warning diagnostic indicating that the attribute at the given path cannot be specified when the attribute at otherPath is set.
No description provided by the author
NewAttributeRequiredWhenError returns an error diagnostic indicating that the attribute at neededPath is required when the attribute at otherPath has the given value.
No description provided by the author
No description provided by the author
NewErrorWithMessage returns a new ErrorWithMessage.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

ErrorWithMessage is a simple error type that implements the errorMessager.

# Interfaces

No description provided by the author