MCPcopy Create free account
hub / github.com/dylan-sutton-chavez/edge-python / error_pos

Method error_pos

compiler/src/modules/vm/helpers.rs:19–19  ·  view source on GitHub ↗

Byte offset of the last propagating error, or None on success / before `run()`. */

(&self)

Source from the content-addressed store, hash-verified

17
18 /* Byte offset of the last propagating error, or None on success / before `run()`. */
19 pub fn error_pos(&self) -> Option<usize> { self.error_byte_pos.map(|p| p as usize) }
20
21 /* Intended process exit code when the last uncaught error is `SystemExit` with an integer (or absent/None) argument. `None` means "not a plain SystemExit", so the host renders a normal traceback; a non-int argument also yields `None` so its message surfaces as an error. */
22 pub fn system_exit_code(&self) -> Option<i64> {

Callers 2

step_vmFunction · 0.80
runFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected