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

Function newApiErrorE

state.go:45–47  ·  view source on GitHub ↗
(code ApiErrorType, err error)

Source from the content-addressed store, hash-verified

43}
44
45func newApiErrorE(code ApiErrorType, err error) *ApiError {
46 return &ApiError{code, LString(err.Error()), "", err}
47}
48
49func (e *ApiError) Error() string {
50 if len(e.StackTrace) > 0 {

Callers 2

LoadFileMethod · 0.70
LoadMethod · 0.70

Calls 2

LStringTypeAlias · 0.85
ErrorMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…