MCPcopy
hub / github.com/larksuite/cli / Error

Method Error

internal/output/bare.go:16–16  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

14type BareError struct{ Code int }
15
16func (e *BareError) Error() string { return fmt.Sprintf("bare exit %d", e.Code) }
17
18// ErrBare builds the silent-exit signal with the given code.
19func ErrBare(code int) *BareError { return &BareError{Code: code} }

Callers 15

TestLoadConfig_ValidFileFunction · 0.45
TestScanString_MatchFunction · 0.45
TestScanString_TruncateFunction · 0.45
TestWalk_NestedMapFunction · 0.45
TestWalk_ArrayFunction · 0.45
TestWalk_MaxDepthFunction · 0.45
TestWalk_ContextCancelFunction · 0.45

Calls

no outgoing calls

Tested by 15

TestLoadConfig_ValidFileFunction · 0.36
TestScanString_MatchFunction · 0.36
TestScanString_TruncateFunction · 0.36
TestWalk_NestedMapFunction · 0.36
TestWalk_ArrayFunction · 0.36
TestWalk_MaxDepthFunction · 0.36
TestWalk_ContextCancelFunction · 0.36