MCPcopy Index your code
hub / github.com/bytebase/bytebase / Error

Method Error

backend/common/error.go:79–81  ·  view source on GitHub ↗

Error implements the error interface. Not used by the application otherwise.

()

Source from the content-addressed store, hash-verified

77
78// Error implements the error interface. Not used by the application otherwise.
79func (e *Error) Error() string {
80 return e.Err.Error()
81}
82
83// ErrorCode unwraps an application error and returns its code.
84// Non-application errors always return EINTERNAL.

Callers 15

checkGroupPermissionMethod · 0.95
checkPolicyPermissionMethod · 0.95
ValidateIAMBindingFunction · 0.45
GetUsersByMemberFunction · 0.45
getUserByIdentifierFunction · 0.45
GetUserIAMPolicyBindingsFunction · 0.45
MemberContainsUserFunction · 0.45
StartAllSampleInstancesFunction · 0.45
processIssueMethod · 0.45

Calls

no outgoing calls

Tested by 15

TestCheckTaskDriftFunction · 0.36
TestGetPrependStatementsFunction · 0.36
TestGetAccountListFilterFunction · 0.36
TestParseOrderByFunction · 0.36
TestGetListRolloutFilterFunction · 0.36
TestGetListGroupFilterFunction · 0.36
TestGetListPlanFilterFunction · 0.36
TestGetListProjectFilterFunction · 0.36