@Wissam-Halimi should be:
var error = {};