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

Function newApiError

state.go:37–39  ·  view source on GitHub ↗
(code ApiErrorType, object LValue)

Source from the content-addressed store, hash-verified

35}
36
37func newApiError(code ApiErrorType, object LValue) *ApiError {
38 return &ApiError{code, object, "", nil}
39}
40
41func newApiErrorS(code ApiErrorType, message string) *ApiError {
42 return newApiError(code, LString(message))

Callers 5

newApiErrorSFunction · 0.70
panicWithTracebackFunction · 0.70
panicWithoutTracebackFunction · 0.70
PCallMethod · 0.70
ResumeMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…