Registers that the instruction being processed threw an exception `message`. It's the responsibility of the execution loop to check for the presence of exceptions and to stop execution if needed.
(&mut self, message: S)
| 333 | /// It's the responsibility of the execution loop to check for the presence of exceptions and |
| 334 | /// to stop execution if needed. |
| 335 | fn set_exception<S: Into<String>>(&mut self, message: S) { |
| 336 | self.stop = Some(InternalStopReason::Exception(self.pc, message.into())); |
| 337 | } |
| 338 | |
| 339 | fn push_frame(&mut self, frame: Frame) -> bool { |
| 340 | if self.call_stack.len() >= self.max_call_stack { |
no outgoing calls
no test coverage detected