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

Method message_without_pos

core/src/compiler/mod.rs:179–181  ·  view source on GitHub ↗

Returns this error's message without the source position prefix.

(&self)

Source from the content-addressed store, hash-verified

177
178 /// Returns this error's message without the source position prefix.
179 pub fn message_without_pos(&self) -> String {
180 self.split_display_message().1
181 }
182
183 /// Annotates an invalid `END` exit code error with a source position.
184 fn from_bytecode_invalid_exit_code(value: InvalidExitCodeError, pos: LineCol) -> Self {

Callers 1

async_execMethod · 0.80

Calls 1

split_display_messageMethod · 0.80

Tested by

no test coverage detected