try 1 / 0 # Throw an exception print("unreachable code") catch print("An error occured!") end