pub fn check(code: i32) -> Result<()>Expand description
Convert a raw VmbC return code into a Result.
Returns Ok(()) if code == 0 (success), and Err(VmbError::Sdk { .. })
otherwise. The message is a generic placeholder — callers may wrap the
result with .map_err(...) to add call-site context if they wish.