Struct: request.ErrParamFormat

import "../ibm-cos-sdk-go/aws/request"

Overview

An ErrParamFormat represents a invalid format parameter error.

Implemented Interfaces

s3crypto.Cipher, s3manager.ReadSeekerWriteTo, s3manager.WriterReadFrom

Constructor Functions collapse

Method Summary collapse

Function Details

func NewErrParamFormat(field string, format, value string) *ErrParamFormat

NewErrParamFormat creates a new invalid format parameter error.



271
272
273
274
275
276
277
278
279
280
// File 'aws/request/validation.go', line 271

func NewErrParamFormat(field string, format, value string) *ErrParamFormat { return &ErrParamFormat{ errInvalidParam: errInvalidParam{ code: ParamFormatErrCode, field: field, msg: fmt.Sprintf("format %v, %v", format, value), }, format: format, } }

Method Details

func (e *ErrParamFormat) Format() string

Format returns the field's required format.



283
284
285
// File 'aws/request/validation.go', line 283

func (e *ErrParamFormat) Format() string { return e.format }