Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/larksuite/cli
/ WithCause
Method
WithCause
errs/types.go:496–499 ·
view source on GitHub ↗
(cause error)
Source
from the content-addressed store, hash-verified
494
}
495
496
func
(e *APIError) WithCause(cause error) *APIError {
497
e.Cause = cause
498
return
e
499
}
500
501
// =========================== SecurityPolicyError =============================
502
Callers
15
WrapDoAPIError
Function · 0.45
WrapJSONResponseParseError
Function · 0.45
classifySaveErr
Function · 0.45
newTokenMissingError
Function · 0.45
DoStream
Method · 0.45
buildStreamBody
Function · 0.45
BuildFormdata
Function · 0.45
ParseOptionalBody
Function · 0.45
ParseJSONMap
Function · 0.45
RevokeToken
Function · 0.45
revokeHTTPStatusError
Function · 0.45
NewNeedUserAuthorizationError
Function · 0.45
Calls
no outgoing calls
Tested by
5
TestHandleRootError_TypedAuthErrorWithLegacyCausePreserved
Function · 0.36
TestWithChain_ReturnsConcretePointer
Function · 0.36
TestNetworkError_SubtypeAndChain
Function · 0.36
TestBuilder_ErrorsAsCompat
Function · 0.36
TestTypedError_UnwrapSymmetry
Function · 0.36