MCPcopy
hub / github.com/gastownhall/gastown / Error

Method Error

internal/mail/bd.go:32–40  ·  view source on GitHub ↗

Error implements the error interface.

()

Source from the content-addressed store, hash-verified

30
31// Error implements the error interface.
32func (e *bdError) Error() string {
33 if e.Stderr != "" {
34 return e.Stderr
35 }
36 if e.Err != nil {
37 return e.Err.Error()
38 }
39 return "unknown bd error"
40}
41
42// Unwrap returns the underlying error for errors.Is/As compatibility.
43func (e *bdError) Unwrap() error {

Calls

no outgoing calls