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

Method WithUserDetailMessage

internal/util/ErrorUtil.go:71–74  ·  view source on GitHub ↗
(UserDetailMessage string)

Source from the content-addressed store, hash-verified

69}
70
71func (e *ApiError) WithUserDetailMessage(UserDetailMessage string) *ApiError {
72 e.UserDetailMessage = UserDetailMessage
73 return e
74}
75
76func (e *ApiError) Error() string {
77 return e.InternalMessage

Calls

no outgoing calls

Tested by

no test coverage detected