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

Method ErrorFault

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

ErrorFault returns the fault for the API exception.

()

Source from the content-addressed store, hash-verified

32
33// ErrorFault returns the fault for the API exception.
34func (e *GenericAPIError) ErrorFault() ErrorFault { return e.Fault }
35
36func (e *GenericAPIError) Error() string {
37 return fmt.Sprintf("api error %s: %s", e.Code, e.Message)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected