MCPcopy Create free account
hub / github.com/Comfy-Org/registry-backend / ExecX

Method ExecX

ent/nodeversion_create.go:241–245  ·  view source on GitHub ↗

ExecX is like Exec, but panics if an error occurs.

(ctx context.Context)

Source from the content-addressed store, hash-verified

239
240// ExecX is like Exec, but panics if an error occurs.
241func (nvc *NodeVersionCreate) ExecX(ctx context.Context) {
242 if err := nvc.Exec(ctx); err != nil {
243 panic(err)
244 }
245}
246
247// defaults sets the default values of the builder before save.
248func (nvc *NodeVersionCreate) defaults() {

Callers

nothing calls this directly

Calls 1

ExecMethod · 0.95

Tested by

no test coverage detected