Ruby - Error Handling
You want to raise a custom error type
ArgumentError with a message "Invalid input" when a method receives a negative number. Which code correctly does this?