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

Method ErrorCode

errors.go:28–28  ·  view source on GitHub ↗

ErrorCode returns the error code for the API exception.

()

Source from the content-addressed store, hash-verified

26
27// ErrorCode returns the error code for the API exception.
28func (e *GenericAPIError) ErrorCode() string { return e.Code }
29
30// ErrorMessage returns the error message for the API exception.
31func (e *GenericAPIError) ErrorMessage() string { return e.Message }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected