Struct: s3shared.ConfigurationError

import "../ibm-cos-sdk-go-v2/service/internal/s3shared"

Overview

ConfigurationError is used to denote a client configuration error

Implemented Interfaces

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

Method Summary collapse

Method Details

func (e ConfigurationError) Error() string

Error returns the Configuration error string



80
81
82
83
84
85
86
87
88
89
// File 'service/internal/s3shared/endpoint_error.go', line 80

func (e ConfigurationError) Error() string { extra := fmt.Sprintf("ARN: %s, client partition: %s, client region: %s", e.resource, e.clientPartitionID, e.clientRegion) msg := configurationErrorErrCode + " : " + e.message if extra != "" { msg = msg + "\n\t" + extra } return msg }

func (e ConfigurationError) Unwrap() error

OrigErr is the original error wrapped by Configuration Error



92
93
94
// File 'service/internal/s3shared/endpoint_error.go', line 92

func (e ConfigurationError) Unwrap() error { return e.origErr }