Skip to main content

ljm_error_code

Function ljm_error_code 

Source
fn ljm_error_code(err: &LJMError) -> Option<i32>
Expand description

Extracts the numeric LJM code from an LJMError when present.

§Arguments

  • err - Error returned by an ljmrs call.

§Returns

The code for LJMError::ErrorCode, or None for other variants.