Skip to main content

semantic_error

Function semantic_error 

Source
pub fn semantic_error(
    identifier: &str,
    message: impl Into<String>,
) -> RuntimeError
Expand description

Construct a language-semantic runtime error in the active session’s namespace. Executors may attach frame and source-span information, but the identifier and message are executor-neutral runtime semantics.