didier.js
handle errors & warnings