Handle all errors from outside the entry library