MCPcopy
hub / github.com/devtron-labs/devtron / WithInternalMessage

Method WithInternalMessage

internal/util/ErrorUtil.go:62–65  ·  view source on GitHub ↗
(InternalMessage string)

Source from the content-addressed store, hash-verified

60 return e
61}
62func (e *ApiError) WithInternalMessage(InternalMessage string) *ApiError {
63 e.InternalMessage = InternalMessage
64 return e
65}
66func (e *ApiError) WithUserMessage(userMessage interface{}) *ApiError {
67 e.UserMessage = userMessage
68 return e

Calls

no outgoing calls

Tested by

no test coverage detected