Skip to main content

engine_failure_code_name

Function engine_failure_code_name 

Source
pub fn engine_failure_code_name(code: EngineFailureCode) -> &'static str
Expand description

What: The wire spelling of a failure code. &'static str borrows text compiled into the executable for its whole run. Why: Events print exactly the spellings the incumbent emitted.

In TS you’d write (pseudocode):

function engineFailureCodeName(code: EngineFailureCode): string;