package
2.0.0-beta.63
Repository: https://github.com/hashicorp/aws-sdk-go-base.git
Documentation: pkg.go.dev

# Functions

ErrCodeContains returns true if the error matches all these conditions: - err is of type awserr.Error - Error.Code() contains code.
ErrCodeEquals returns true if the error matches all these conditions: - err is of type awserr.Error - Error.Code() equals one of the passed codes.
ErrMessageAndOrigErrContain returns true if the error matches all these conditions: - err is of type awserr.Error - Error.Code() matches code - Error.Message() contains message - Error.OrigErr() contains origErrMessage.
ErrMessageContains returns true if the error matches all these conditions: - err is of type awserr.Error - Error.Code() equals code - Error.Message() contains message.
ErrStatusCodeEquals returns true if the error matches all these conditions: - err is of type awserr.RequestFailure - RequestFailure.StatusCode() equals statusCode It is always preferable to use ErrMessageContains() except in older APIs (e.g.