MCPcopy Create free account
hub / github.com/juju/errors / Message

Method Message

error.go:153–155  ·  view source on GitHub ↗

Message returns the message stored with the most recent location. This is the empty string if the most recent call was Trace, or the message stored with Annotate or Mask.

()

Source from the content-addressed store, hash-verified

151// the empty string if the most recent call was Trace, or the message stored
152// with Annotate or Mask.
153func (e *Err) Message() string {
154 return e.message
155}
156
157// Error implements error.Error.
158func (e *Err) Error() string {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected