Struct: v4.HashComputationError

import "../ibm-cos-sdk-go-v2/aws/signer/v4"

Overview

HashComputationError indicates an error occurred while computing the signing hash

Implemented Interfaces

types.AnalyticsFilter, v4.HTTPPresigner, s3.HTTPPresignerV4, types.MetricsFilter, s3.PresignPost, arn.S3ObjectLambdaARN, types.SelectObjectContentEventStream

Structure Field Summary collapse

Method Summary collapse

Structure Field Details

Err error

Method Details

func (e *HashComputationError) Error() string

Error is the error message



29
30
31
// File 'aws/signer/v4/middleware.go', line 29

func (e *HashComputationError) Error() string { return fmt.Sprintf("failed to compute payload hash: %v", e.Err) }

func (e *HashComputationError) Unwrap() error

Unwrap returns the underlying error if one is set



34
35
36
// File 'aws/signer/v4/middleware.go', line 34

func (e *HashComputationError) Unwrap() error { return e.Err }