SPlus.Configuration.setRemoteFileSource (configSource, function (){
//TODO: Implementation.
}, function (errorResponse){
var error = errorResponse['error#displayValue']; //Getting the error
//TODO: Implement how to handle errors
});