-Added default value for CurlWrapper::error