Byte offset of the last propagating error, or None on success / before `run()`. */
(&self)
| 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> { |