github issue #14 and github issue #15 – better feedback on error