MCPcopy Create free account
hub / github.com/aws/smithy-go / Error

Method Error

validation.go:87–89  ·  view source on GitHub ↗

Error returns the string version of the invalid parameter error.

()

Source from the content-addressed store, hash-verified

85
86// Error returns the string version of the invalid parameter error.
87func (e invalidParamError) Error() string {
88 return fmt.Sprintf("%s, %s.", e.reason, e.Field())
89}
90
91// Field Returns the field and context the error occurred.
92func (e invalidParamError) Field() string {

Callers

nothing calls this directly

Calls 1

FieldMethod · 0.95

Tested by

no test coverage detected