Struct: eventstream.LengthError

import "../ibm-cos-sdk-go-v2/aws/protocol/eventstream"

Overview

LengthError provides the error for items being larger than a maximum length.

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

Have int

Part string

Value interface{}

Want int

Method Details

func (e LengthError) Error() string



12
13
14
15
// File 'aws/protocol/eventstream/error.go', line 12

func (e LengthError) Error() string { return fmt.Sprintf("%s length invalid, %d/%d, %v", e.Part, e.Want, e.Have, e.Value) }