Make sure thrown exceptions are actually Errors