MCPcopy Index your code
hub / github.com/cortexlabs/cortex / ErrorAuthAPIError

Function ErrorAuthAPIError

pkg/operator/endpoints/errors.go:74–79  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

72}
73
74func ErrorAuthAPIError() error {
75 return errors.WithStack(&errors.Error{
76 Kind: ErrAuthAPIError,
77 Message: "the operator is unable to verify user's credentials using AWS STS; run `aws sts get-caller-identity` to view the credentials being used by the cortex client",
78 })
79}
80
81func ErrorAuthInvalid() error {
82 return errors.WithStack(&errors.Error{

Callers 1

AWSAuthMiddlewareFunction · 0.85

Calls 1

WithStackFunction · 0.92

Tested by

no test coverage detected