robocar-tools/vendor/github.com/aws/aws-sdk-go-v2/internal/v4a/error.go

18 lines
355 B
Go
Raw Normal View History

package v4a
import "fmt"
// SigningError indicates an error condition occurred while performing SigV4a signing
type SigningError struct {
Err error
}
func (e *SigningError) Error() string {
return fmt.Sprintf("failed to sign request: %v", e.Err)
}
// Unwrap returns the underlying error cause
func (e *SigningError) Unwrap() error {
return e.Err
}