MCPcopy
hub / github.com/google/mtail / RuntimeErrorString

Method RuntimeErrorString

internal/runtime/vm/vm.go:1043–1047  ·  view source on GitHub ↗

RuntimeErrorString returns the last runtime erro rthat the program enountered.

()

Source from the content-addressed store, hash-verified

1041
1042// RuntimeErrorString returns the last runtime erro rthat the program enountered.
1043func (v *VM) RuntimeErrorString() string {
1044 v.runtimeErrorMu.RLock()
1045 defer v.runtimeErrorMu.RUnlock()
1046 return v.runtimeError
1047}
1048
1049// Run starts the VM and processes lines coming in on the input channel. When
1050// the channel is closed, and the VM has finished processing the VM is shut

Callers 2

WriteStatusHTMLMethod · 0.80
ProgzHandlerMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected