`ArgumentError` is appropriate, rather than a specialized exception.