MCPcopy Create free account
hub / github.com/google/gapid / fail

Function fail

core/codegen/builder.go:47–50  ·  view source on GitHub ↗
(msg string, args ...interface{})

Source from the content-addressed store, hash-verified

45func (f buildFailure) String() string { return string(f) }
46
47func fail(msg string, args ...interface{}) {
48 str := fmt.Sprintf(msg, args...)
49 panic(buildFailure(str))
50}
51
52// Call invokes the function f with the specified arguments
53func (b *Builder) Call(f *Function, args ...*Value) *Value {

Callers 15

BuildMethod · 0.70
LoadMethod · 0.70
LoadUnalignedMethod · 0.70
StoreUnalignedMethod · 0.70
StoreMethod · 0.70
fieldFunction · 0.70
pathMethod · 0.70
IndexMethod · 0.70
InsertMethod · 0.70
ExtractMethod · 0.70
IsNullMethod · 0.70
OneMethod · 0.70

Calls 1

buildFailureTypeAlias · 0.85

Tested by

no test coverage detected