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

Function NewConfigError

errs/types.go:338–346  ·  view source on GitHub ↗
(subtype Subtype, format string, args ...any)

Source from the content-addressed store, hash-verified

336}
337
338func NewConfigError(subtype Subtype, format string, args ...any) *ConfigError {
339 return &ConfigError{
340 Problem: Problem{
341 Category: CategoryConfig,
342 Subtype: subtype,
343 Message: formatMessage(format, args),
344 },
345 }
346}
347
348func (e *ConfigError) WithHint(format string, args ...any) *ConfigError {
349 e.Hint = formatMessage(format, args)

Callers 15

LoadOrNotConfiguredFunction · 0.92
NotConfiguredErrorFunction · 0.92
NoActiveProfileErrorFunction · 0.92
ResolveConfigFromMultiFunction · 0.92
classifyTATResponseCodeFunction · 0.92
syncLoginUserToProfileFunction · 0.92
runCreateAppFlowFunction · 0.92
selectCandidateFunction · 0.92
ListCandidatesMethod · 0.92
BuildMethod · 0.92
ListCandidatesMethod · 0.92
BuildMethod · 0.92

Calls 1

formatMessageFunction · 0.85

Tested by 2

TestIsFatalSendErrFunction · 0.74