Lines Matching refs:Errorf
35 return fmt.Errorf("call does not have meta information")
38 return fmt.Errorf("call %v: %v", c.Meta.Name, err)
43 return fmt.Errorf("use of %+v referes to an out-of-tree arg\narg: %#v", orig, u)
51 return fmt.Errorf("wrong number of arguments, want %v, got %v",
65 return fmt.Errorf("return value without type")
70 return fmt.Errorf("return value is absent")
73 return fmt.Errorf("return value %v is not output", c.Ret)
76 return fmt.Errorf("return value %v is not empty", c.Ret)
83 return fmt.Errorf("nil arg")
86 return fmt.Errorf("arg %#v is referenced several times in the tree", arg)
89 return fmt.Errorf("no arg type")
92 return fmt.Errorf("bad arg type %#v, expect %#v", arg.Type(), typ)
102 return fmt.Errorf("out int arg '%v' has bad const value %v", typ.Name(), arg.Val)
106 return fmt.Errorf("per proc arg '%v' has bad value %v", typ.Name(), arg.Val)
110 return fmt.Errorf("csum arg '%v' has nonzero value %v", typ.Name(), arg.Val)
114 return fmt.Errorf("const arg %v has bad type %v", arg, typ.Name())
121 return fmt.Errorf("output arg '%v'/'%v' has non default value '%+v'",
132 return fmt.Errorf("result arg %v has bad type %v", arg, arg.Type().Name())
136 return fmt.Errorf("nil reference in uses for arg %+v", arg)
139 return fmt.Errorf("result arg '%v' has broken uses link to (%+v)", arg, u)
144 return fmt.Errorf("out resource arg '%v' has bad const value %v", typ.Name(), arg.Val)
148 return fmt.Errorf("result arg %v references out-of-tree result: %#v -> %#v",
152 return fmt.Errorf("result arg '%v' has broken link (%+v)", typ.Name(), arg.Res.uses)
161 return fmt.Errorf("data arg %v has bad type %v", arg, arg.Type().Name())
164 return fmt.Errorf("output arg '%v' has data", typ.Name())
167 return fmt.Errorf("data arg %v has wrong size %v, want %v",
173 return fmt.Errorf("string arg '%v' has size %v, which should be %v",
184 return fmt.Errorf("sandbox escaping file name %q", string(arg.data))
194 return fmt.Errorf("struct arg '%v' has wrong number of fields: want %v, got %v",
205 return fmt.Errorf("array %v has wrong number of elements %v, want %v",
214 return fmt.Errorf("group arg %v has bad type %v", arg, typ.Name())
222 return fmt.Errorf("union arg %v has bad type %v", arg, arg.Type().Name())
232 return fmt.Errorf("union arg '%v' has bad option", typ.Name())
241 return fmt.Errorf("vma arg '%v' has data", typ.Name())
245 return fmt.Errorf("non optional pointer arg '%v' is nil", typ.Name())
253 return fmt.Errorf("pointer arg '%v' has nonzero size", typ.Name())
256 return fmt.Errorf("pointer arg '%v' has output direction", typ.Name())
259 return fmt.Errorf("ptr arg %v has bad type %v", arg, typ.Name())
267 return fmt.Errorf("ptr %v has bad address %v/%v/%v",