rb_raise() exits the function and returns to the ruby script. Used for example to exit a function if arguments are not valid.