MCPcopy Index your code
hub / github.com/yuin/gopher-lua / newApiErrorS

Function newApiErrorS

state.go:41–43  ·  view source on GitHub ↗
(code ApiErrorType, message string)

Source from the content-addressed store, hash-verified

39}
40
41func newApiErrorS(code ApiErrorType, message string) *ApiError {
42 return newApiError(code, LString(message))
43}
44
45func newApiErrorE(code ApiErrorType, err error) *ApiError {
46 return &ApiError{code, LString(err.Error()), "", err}

Callers 3

GetInfoMethod · 0.70
PCallMethod · 0.70
ResumeMethod · 0.70

Calls 2

LStringTypeAlias · 0.85
newApiErrorFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…