Promise.js error static method manage promise parameter
Promise.js success static method added