Throw InvalidArgumentException instead of \RuntimeException from BaseRequest