MCPcopy Index your code
hub / github.com/erda-project/erda / InternalError

Method InternalError

pkg/http/httpserver/errorresp/error_codes.go:91–94  ·  view source on GitHub ↗

InternalError 异常

(err error)

Source from the content-addressed store, hash-verified

89
90// InternalError 异常
91func (e *APIError) InternalError(err error) *APIError {
92 return e.dup().appendCode(http.StatusInternalServerError, "InternalError").
93 appendLocaleTemplate(templateInternalError, err.Error())
94}
95
96// ErrorVerificationCode 验证码错误
97func (e *APIError) ErrorVerificationCode(err error) *APIError {

Callers 15

GetSnippetPipelineYmlFunction · 0.80
ErrRespFunction · 0.80
ErrWriteFunction · 0.80
KmsEncryptMethod · 0.80
KmsDecryptMethod · 0.80
KmsGenerateDataKeyMethod · 0.80
KmsRotateKeyVersionMethod · 0.80
KmsCreateKeyMethod · 0.80
KmsDescribeKeyMethod · 0.80
batchUnFreezeUserFunction · 0.80
updatePwdSecurityConfigFunction · 0.80

Calls 4

dupMethod · 0.95
appendLocaleTemplateMethod · 0.80
appendCodeMethod · 0.80
ErrorMethod · 0.65