Fix wrong error message

The class name is "InvalidHTTPMethodError".