result = do_something parameters rq_flags

if result.rc == NO_ERROR =>
  print_string "All done.\n"
_ =>
  handle_error result
