MCPcopy Index your code
hub / github.com/endbasic/endbasic / set_error_handler_active

Method set_error_handler_active

core/src/vm/context.rs:264–269  ·  view source on GitHub ↗

Marks the current jump-based error handler as active.

(&mut self)

Source from the content-addressed store, hash-verified

262
263 /// Marks the current jump-based error handler as active.
264 pub(super) fn set_error_handler_active(&mut self) {
265 self.err_handler = match self.err_handler {
266 ErrorHandler::Jump { active: false, addr } => ErrorHandler::Jump { active: true, addr },
267 _ => unreachable!("Only inactive jump handlers can be activated"),
268 };
269 }
270
271 /// Dereferences a pointer register as a string.
272 fn deref_string<'b>(

Callers 1

handle_exceptionMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected