Third baseman Dave Edler atoned for a three-base throwing error, which allowed Baltimore to score an unearned run in the second inning, by driving in three runs as the Mariners beat the Orioles, 4-3, tonight at the Kingdome.

The victory, fashioned after the Orioles had taken a 3-0 lead, gave Seattle a sweep of the two-game series and temporarily halted Baltimore's climb toward the top of the American League East standings.

Seattle made the most of its five hits off Orioles starting pitcher Mike Flanagan, whose record fell to 6-8. Twice the Mariners scored while getting only one hit in the inning, including the game winning run in the seventh.

"Four walks didn't help us," Manager Earl Weaver said. "Either you pitch good and you don't give up any runs like he (Flanagan) did against them at Baltimore or you walk people and give up the runs. He pitched well but not well enough because they got four and we got three. The two walks to (Terry) Bulling and the two to Julio (Cruz) got runners on base and pushed runners into scoring position."

Bulling began the seventh with a one-out walk. One out later, Cruz walked. Edler followed with a single to center to drive in Bulling. It was the second straight game the Mariners had rallied to beat the Orioles and Seattle's 26th victory of the season. Seattle also has the best record in the league in one-run games, 20-11, a distinction held by the Orioles last season. It was Baltimore's 12th one-run loss this season, compared with five wins.

The Orioles got 11 hits off Mariners starter Mike Moore, all but two of them singles, but were held to two earned runs. The victory was the fourth in 10 decisions for the rookie right-hander. Relief pitcher Bill Caudill recorded his 17th save.

"That (pitching successfully) meant a lot to me," said Caudill, upset at having been left off the all-star team. "I wanted that one real bad. I'm content now.

"I'm just sad. I still can't believe it. When I first found out I thought they were kidding me . . . I think you should take the people who deserve to go. But there are always going to be people who get overlooked. I was just overlooked. What can I do."

For the second straight night, the Orioles got out to a 3-0 lead, this time scoring a run in each of the first three innings.

With one out in the first, Rich Dauer, Ken Singleton and Eddie Murray singled for a run. John Lowenstein got a fourth straight single to load the bases, but Cal Ripken Jr. bounced into an inning ending double play.

In the second, Gary Roenicke singled, stole second and scored on Edler's error.

And with two out in the third, Lowenstein arose from being decked by a pitch from Moore and homered. It was the second in two games for the Orioles outfielder after a month-long dry spell, and his 13th this season, a career high.

But as they did Wednesday, the Mariners came back to tie.

They scored twice in the third. Bulling led off with a walk and took second on Bobby Brown's single. Cruz bunted the runners to second and third, Bulling scored on Edler's ground out and Bruce Bichte doubled in Brown.

In the fifth, after Bulling grounded out, Brown singled and moved to second when Cruz walked. Both advanced on a double steal and Brown scored as Edler grounded out.