MCPcopy Create free account
hub / github.com/larksuite/cli / Error

Method Error

internal/platform/error.go:19–28  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

17}
18
19func (e *PluginInstallError) Error() string {
20 prefix := fmt.Sprintf("plugin %q (%s)", e.PluginName, e.ReasonCode)
21 if e.Reason != "" {
22 prefix += ": " + e.Reason
23 }
24 if e.Cause != nil {
25 prefix += ": " + e.Cause.Error()
26 }
27 return prefix
28}
29
30func (e *PluginInstallError) Unwrap() error { return e.Cause }
31

Callers 2

installOneFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected