MCPcopy
hub / github.com/harness/harness / Error

Struct Error

registry/app/dist_temp/errcode/errors.go:114–118  ·  view source on GitHub ↗

Error provides a wrapper around ErrorCode with extra Details provided.

Source from the content-addressed store, hash-verified

112
113// Error provides a wrapper around ErrorCode with extra Details provided.
114type Error struct {
115 Code CodeError `json:"code"`
116 Message string `json:"message"`
117 Detail interface{} `json:"detail,omitempty"`
118}
119
120var _ error = Error{}
121

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected