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

Method last_error

core/src/callable.rs:1004–1006  ·  view source on GitHub ↗

Returns the last error stored in the VM, if any.

(&self)

Source from the content-addressed store, hash-verified

1002
1003 /// Returns the last error stored in the VM, if any.
1004 pub fn last_error(&self) -> Option<(LineCol, &str)> {
1005 self.last_error.as_ref().map(|(pos, message)| (*pos, message.as_str()))
1006 }
1007
1008 /// Sets the return value of the function to `b`.
1009 ///

Callers 2

execMethod · 0.80
execMethod · 0.80

Calls 1

as_strMethod · 0.80

Tested by 1

execMethod · 0.64