rust: add step9_try. Refactor error handling.