Struct: request.ErrParamRequired

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

Overview

An ErrParamRequired represents an required parameter error.

Implemented Interfaces

s3crypto.Cipher, s3manager.ReadSeekerWriteTo, s3manager.WriterReadFrom

Constructor Functions collapse

Function Details

func NewErrParamRequired(field string) *ErrParamRequired

NewErrParamRequired creates a new required parameter error.



183
184
185
186
187
188
189
190
191
// File 'aws/request/validation.go', line 183

func NewErrParamRequired(field string) *ErrParamRequired { return &ErrParamRequired{ errInvalidParam{ code: ParamRequiredErrCode, field: field, msg: fmt.Sprintf("missing required field"), }, } }