Struct: arn.InvalidARNError

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

Overview

InvalidARNError provides the error for an invalid ARN error.

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

ARN arn.ARN

Reason string

Method Details

func (e InvalidARNError) Error() string

Error returns a string denoting the occurred InvalidARNError



82
83
84
// File 'service/internal/s3shared/arn/arn.go', line 82

func (e InvalidARNError) Error() string { return fmt.Sprintf("invalid Amazon %s ARN, %s, %s", e.ARN.Service, e.Reason, e.ARN.String()) }