in the sample code Prince() .inputs("test.html") .output("test.pdf") .execute() .then(function () { console.log("OK: done") }, function (error) { console.log("ERROR: ", util.inspect(error)) })
The rejection function will only log the first error that is returned by Prince. I have an html document that has at least 3 errors that I would like to log and return to the client but only have access to the first error. Please add support for an array of errors.