Skip to main content

builtin_runtime_error_fields

Function builtin_runtime_error_fields 

Source
pub fn builtin_runtime_error_fields() -> Vec<String>
Expand description

The canonical RuntimeError { message, line } struct field list. try_call produces these directly; declaring them as a builtin lets user code pattern-match the same shape.