Still covered by warranty? Usually warranties demand the owner mitigate further damage, such as switching off the breaker controlling that circuit, which I assume you've already done.
Take pictures of the damage and document everything prior to making any repairs. This is usually recognized by the manufacturer for warranty claims, even after repairs are completed.
I agree with Rodney, loose connections are the most common cause of electrical fires.
2000 Winnebago Ultimate Freedom USQ40JD
, ISC 8.3 Cummins 350, Spartan MM Chassis. USA 1SG, retired;PPA,Good Sam Life member."We the people are the rightful masters of both the Congress and the Courts - not to overthrow the Constitution but to overthrow men who pervert theConstitution. "Abraham Lincoln"